Pytest¶
Pytest is a modern testing framework.
It is way too complex to explain it here, but it runs all the tests from the tests directory and also checks the code coverage (using coverage).
The pytest related settings are defined in the pyproject.toml file.
Call pytest by running:
Or (preferably) use just:
Measure coverage: