-
One test module for each tested production module
-
One TestCase for each class or function to be tested
-
Generate the test data automatically from
test_database.jsonby runningtests/generate_test_data.pyfrom root -
Call pytest on the
tests/directory. Example:python3.6 -m pytest testsor use your preferred IDE with pytest support, such as Pycharm