p

pytest

The standard Python testing framework — simple assert statements, powerful fixtures, and a vast plugin ecosystem.

Python free Open Source testing since 2004

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
Something wrong? Edit this entry on GitHub.
✏ Edit on GitHub