Minimal Python unit-test setup. Useful for Coding-Dojos.
You can either choose the built-in unittest or the more flexible PyTest.
If using PyTest, you need to install it first (see below at "Dependencies").
You will find unit-test files written for each framework. Choose the one that works for you; feel free to delete the other one.
Install dependencies with:
pip install -r requirements.txt
It is strongly recommended that you use a Python IDE (like PyCharm) to run the tests.
If you are using PyTest, you can also run them from the command-line with:
pytest
Alternatively, for unittest it is:
python -m unittest