Test libraries¶
Unittest and pytest support the following testing concepts:
- Test Case¶
tests a single scenario.
- Test Fixture¶
is a consistent test environment.
- Test Suite¶
is a collection of several test cases.
- Test Runner¶
runs through a test suite and displays the results.
tox also provides various environments in which tests can be run. Finally, Hypothesis supports you with black-box testing.