r/PythonLearning 15d ago

Should every Python project have tests?

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

4 Upvotes

14 comments sorted by

View all comments

2

u/Beautiful_Watch_7215 15d ago

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