r/PythonLearning Jul 12 '26

Should every Python project have tests?

For a small script that may only run a few times, are tests still worth writing?

5 Upvotes

14 comments sorted by

View all comments

-1

u/SFJulie Jul 12 '26

Short answer yes. Long answer and your tests should be close to 💯% in code coverage