pytest
Input—per 1M tokens
Output—per 1M tokens
Context—tokens
WeightsClosed
About
pytest is ranked #6 of 32 in unit testing frameworks on Inferse. It runs on Linux. There is a free plan.
Compared on unit testing frameworks
- Free plan
- Yespytest.org
- Supported languages
- Pythonpytest.org
- Built-in mocks
- Yespytest.org
- Parameterized cases
- Yespytest.org
- Parallel execution
- Yespytest.org
- Snapshot testing
- Nopytest.org
- Property-based checks
- Nopytest.org
Facts
- Purpose
- pytest is a framework for writing small, readable tests that can scale to complex functional testing for applications and libraries.docs.pytest.org · 29 Sept 2026
- Assertions
- pytest provides detailed information about failing assert statements through assertion introspection.docs.pytest.org · 29 Sept 2026
- Test discovery
- pytest automatically discovers test modules and functions using standard naming conventions.docs.pytest.org · 29 Sept 2026
- Fixtures
- Fixtures provide resources to tests, including unique temporary directories, and can be shared or parametrized.docs.pytest.org · 29 Sept 2026
- Compatibility
- pytest can run unittest test suites, including trial, out of the box.docs.pytest.org · 29 Sept 2026
- Plugins
- pytest has a plugin architecture and the project home reports more than 1300 external plugins.docs.pytest.org · 29 Sept 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 · 29 Sept 2026
- Install
- The getting-started guide installs pytest with the command pip install -U pytest.docs.pytest.org · 29 Sept 2026
- Test selection
- The command line can select tests by module, directory, keyword, collection path, or marker expression.docs.pytest.org · 29 Sept 2026
- Integrations
- The documentation describes loading external plugins, including pytest-cov, and pytest can be invoked from Python code.docs.pytest.org · 29 Sept 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 · 29 Sept 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 · 29 Sept 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 · 29 Sept 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 · 29 Sept 2026
Company
- Founded
- 2004pytest.org · 23 Sept 2026
Best pytest alternatives
See all 12
6.0 GoogleTest Free free plan, no paid price published Free plan
6.0 Jest Free free plan, no paid price published Free plan
6.0 JUnit Free free plan, no paid price published Free plan
6.0 Kotest Free free plan, no paid price published Free plan
6.0 Mocha Free free plan, no paid price published Free plan
6.0 Vitest Free free plan, no paid price published Free plan Where it ranks on Inferse
Sources
- docs.pytest.org/en/stable/· checked 29 Sept 2026
- docs.pytest.org/en/stable/getting-started.html· checked 29 Sept 2026
- docs.pytest.org/en/stable/backwards-compatibility.html· checked 29 Sept 2026
- docs.pytest.org/en/stable/how-to/usage.html· checked 29 Sept 2026
- docs.pytest.org/en/stable/tidelift.html· checked 29 Sept 2026
- pytest.org· checked 23 Sept 2026



