pytest-dev/pytest
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 99
- Release rhythm 77
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 67
- age_days: 4097
- days_rel: 75
- days_push: 7
- n_releases_24m: 12
Adoption not part of the score
14444 stars · 3326 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pytest is a mature Python testing framework that makes it easy to write small tests with plain assert statements while scaling to complex functional testing. It offers powerful features like detailed assertion introspection, fixtures, parametrization, and a rich plugin ecosystem.
Use cases
- write unit tests for python code
- run functional tests for an application
- parametrize tests over multiple inputs
- share test setup with fixtures
- run unittest-based tests with better output
- write custom test plugins
When to choose
- you are testing Python code and want minimal boilerplate with plain asserts
- you need scalable test organization with fixtures and parametrization
- you want a large plugin ecosystem and mature tooling
When to avoid
- you are testing non-Python code
- you need a language-agnostic test runner
Facets
framework · maturity stable
testing cli plugin-system testing developer-tools python cli cross-platform unit-testing fixtures parametrized-tests assertion-introspection test-runner python
7 sources
- readme: https://github.com/pytest-dev/pytest · fetched 2026-08-28 · 572a925b9ccb
- homepage: https://pytest.org · fetched 2026-08-29 · 5bf3712d046b
- site_page: https://docs.pytest.org/en/stable/getting-started.html · fetched 2026-08-29 · 0a4b0e49f915
- site_page: https://docs.pytest.org/en/stable/how-to/plugins.html · fetched 2026-08-29 · 22305354bccd
- site_page: https://docs.pytest.org/en/stable/explanation/fixtures.html · fetched 2026-08-29 · b0c283a9a77e
- site_page: https://docs.pytest.org/en/stable/changelog.html · fetched 2026-08-29 · c59f10ee32ea
- registry_pypi: https://pypi.org/pypi/pytest/json · fetched 2026-08-29 · dcac07bd538e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pytest-dev/pytest | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="pytest-dev/pytest")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem