pytest-dev/pytest-django
Some data may be outdated — see provenance labels.
A Django plugin for pytest. observed · 2026-09-26
Health v2 · maintenance only
93/100
- Activity 92
- Release rhythm 90
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 5500
- days_rel: 71
- days_push: 50
- n_releases_24m: 6
Adoption not part of the score
1546 stars · 368 forks observed · 2026-09-26
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pytest-django is a pytest plugin that lets you test Django projects and applications with pytest instead of Django's manage.py test runner. It provides fixtures, database reuse, and seamless integration with existing unittest-style test cases.
Use cases
- test a django app with pytest instead of manage.py test
- write django tests as plain functions without unittest boilerplate
- reuse the test database across test runs for speed
- manage test dependencies with pytest fixtures in django
- run django tests in parallel with pytest-xdist
- use pytest plugins with an existing django test suite
When to choose
- you have a Django project and prefer pytest's fixtures and plugin ecosystem
- you want faster test runs via database reuse and parallel execution
- you need to keep existing unittest-style Django tests working while migrating to pytest
When to avoid
- your project is not Django-based
- you are happy with Django's built-in test runner and don't need pytest features
- you need a testing tool for non-Python stacks
Facets
plugin · maturity stable
testing e2e-testing testing web-development developer-tools python cli cross-platform pytest-plugin django test-runner fixtures unit-testing
2 sources
- readme: https://github.com/pytest-dev/pytest-django · fetched 2026-09-26 · af61d7cdb54b
- registry_pypi: https://pypi.org/pypi/pytest-django/json · fetched 2026-08-29 · 4fe84da33cf9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pytest-dev/pytest-django | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="pytest-dev/pytest-django")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem