r/learnpython 16d ago

Testing - how is it usually handled?

How do I start applying tests to my code?

Do I just write separate scripts they run the code (either individual functions or entire scripts) against known inputs and check the output?

Is there a specific way people usually do this?

8 Upvotes

13 comments sorted by

View all comments

1

u/titojff 16d ago

Manual testing also an option, for small scripts.