- Home
- Unit Testing
- pytest
On the recordRead 29 Sep 202615 facts
pytest
Plans and prices
pytest
Free
Open source Python testing framework
Read 29 Sep 2026 · docs.pytest.org
On the record
- Assertions
- pytest provides detailed information about failing assert statements through assertion introspection.docs.pytest.org · read 29 Sep 2026
- Compatibility
- pytest can run unittest test suites, including trial, out of the box.docs.pytest.org · read 29 Sep 2026
- Enterprise services
- The Tidelift subscription description lists security updates, licensing verification and indemnification, maintenance, version guidance, roadmap input, and tooling and cloud integration.docs.pytest.org · read 29 Sep 2026
- Fixtures
- Fixtures provide resources to tests, including unique temporary directories, and can be shared or parametrized.docs.pytest.org · read 29 Sep 2026
- Install
- The getting-started guide installs pytest with the command pip install -U pytest.docs.pytest.org · read 29 Sep 2026
- Integrations
- The documentation describes loading external plugins, including pytest-cov, and pytest can be invoked from Python code.docs.pytest.org · read 29 Sep 2026
- Intended users
- pytest is described for testing applications and libraries, and its enterprise support offer is aimed at organizations using open source dependencies to build applications.docs.pytest.org · read 29 Sep 2026
- Plugins
- pytest has a plugin architecture and the project home reports more than 1300 external plugins.docs.pytest.org · read 29 Sep 2026
- Purpose
- pytest is a framework for writing small, readable tests that can scale to complex functional testing for applications and libraries.docs.pytest.org · read 29 Sep 2026
- Security
- The project asks users to report suspected security vulnerabilities through a new GitHub security advisory instead of creating an issue.docs.pytest.org · read 29 Sep 2026
- Support
- The project directs users to GitHub issues for bugs and feature requests and offers commercial support and maintenance through Tidelift Subscription.docs.pytest.org · read 29 Sep 2026
- Supported runtimes
- The project home lists Python 3.10+ or PyPy 3; the version support page says pytest 9.0+ requires Python 3.10+.docs.pytest.org · read 29 Sep 2026
- Test discovery
- pytest automatically discovers test modules and functions using standard naming conventions.docs.pytest.org · read 29 Sep 2026
- Test selection
- The command line can select tests by module, directory, keyword, collection path, or marker expression.docs.pytest.org · read 29 Sep 2026