Core: learn it Step 11 of 16 on the Python Developer roadmap

Testing your code

Tests are small programs that check your code still does what you expect. They catch mistakes early and give you the confidence to change code without fear. Start by testing functions that take inputs and return outputs, since they are the easiest to check.

Resources

Topics in this step

See it on the Python Developer roadmap