pytest-dev/pytest-django
A Django plugin for pytest. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 97
- Release rhythm 97
- 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-09-03. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 5452
- days_rel: 23
- days_push: 23
- n_releases_24m: 6
Adoption not part of the score
1544 stars · 365 forks observed · 2026-08-28
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-08-28 · 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 | 98 |
For agents
markdown · JSON · MCP: product_card(name="pytest-dev/pytest-django")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem