The de facto Python testing framework: fixtures, parametrisation, plugins.
pytest replaces class-based unittest boilerplate with plain functions and plain assert statements, then adds a fixture system that makes dependency setup composable and a parametrisation decorator that turns one test into fifty. Its plugin ecosystem covers coverage, async, Django, benchmarking, distributed execution and much more.
Best for
Free and open source
Open sourceFree tier: Everything, self-hosted
What drives the bill: Free and open source. You pay in engineering time and CI minutes.
Check current pricing on pytest-dev’s siteFigures are indicative and were last reviewed August 2026. Vendors change pricing often; confirm before you commit.
No reviews of pytest yet. If you have used it in anger, yours would be the first.
If pytest is not the right fit, these solve the same problem differently.