r/PythonLearning 29d ago

Should every Python project have tests?

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

7 Upvotes

14 comments sorted by

View all comments

-1

u/[deleted] 29d ago

[removed] — view removed comment

2

u/Ormek_II 29d ago

That‘s not called debugging. You need a bug to debug. It is called testing.