Testing your code is a good idea because it usually leads to great improvements. There's many libraries in python that will help with testing but a favourable on called pytest. In this series of videos we demonstrate how the use it.
Just to recap; pytest will assume tests to have
test both in the
name of the function as well as the name of the file that it is in.
Feedback? See an issue? Feel free to mention it here.
If you want to be kept up to date, consider getting the newsletter.