p
pytest
The standard Python testing framework — simple assert statements, powerful fixtures, and a vast plugin ecosystem.
pytest replaces Python’s verbose unittest with plain assert statements, automatic test discovery, and a fixture system that handles setup/teardown with dependency injection. Over 1,000 plugins extend it with coverage, parallel execution, Django integration, snapshot testing, and more. It is the de facto standard for Python testing across all domains.
// tags
testingpythonunit-testingfixturespluginsparametrize