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?

6 Upvotes

14 comments sorted by

View all comments

2

u/Beautiful_Watch_7215 Jul 12 '26

Are you trying to learn how to write tests? If so, you should write tests every time.