Tests¶
For testing, we use pytest with some predefined
configs (you can check it on pyproject.toml file). Additionaly, we’re also packing pytest with some plugins:
- pytest-cov: produces coverage reports
- pytest-clarity: coloured diff output
- pytest-randomly: randomly order tests and controls random.seed
- pytest-env: enables you to set environment variables in the pytest config file
- xdoctest: allows executing tests in docstrings