Time for action choosing a test framework
When choosing a test framework, ask yourself the following questions:
- What do I want to test? You cannot test everything and developing tests takes time.
- How easy is it to write and maintain the tests? This question is just as relevant for developing tests as it is for developing code in general.
- How much effort is needed to perform the tests? If it is easy to automate the tests, they can, for example, be run as part of the deployment as an extra check.
Just for Python alone there are quite a few testing frameworks available, but we will choose the
unittest module distributed with Python. Note that although we choose to write only automated test for the Python parts of the applications, this doesn't mean ...