pytest-django
pytest plugin that provides tools for testing Django projects and applications.
pytest-django.readthedocs.io/en/latest/repositorydocs
pytest-django lets a Django project run its tests with pytest. Tests can be plain functions that use pytest fixtures, unittest-style TestCase classes keep working, and the test database can be reused between runs. The README says the suite can run across several processes through the pytest-xdist plugin.
Worth knowing
Compatibility follows Django and pytest releases: the README says that for older versions one should use previous pytest-django releases.
Identity
- Status
- Active
- Maintainer
- Andreas Pelme3
- Maintained by
- Individual3
- First release
- 20124
Rendering and deploy
- Install with
- pip5
Releases
Adoption
Sources
- 2026-11-16: links, Built on
pytest-django.readthedocs.io/en/latest/ - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/pytest-dev/pytest-django - 2026-11-16: Maintainer, Maintained by, Categories, Runtime, Minimum runtime
github.com/pytest-dev/pytest-django/blob/v4.14.0/pyproject.toml - 2026-11-16: First release
pypi.org/pypi/pytest-django/json - 2026-11-16: Install with
github.com/pytest-dev/pytest-django/blob/main/README.rst - 2026-11-16: License
github.com/pytest-dev/pytest-django/blob/main/LICENSE - 2026-11-16: Current major version, Last release
api.github.com/repos/pytest-dev/pytest-django/releases - 2026-11-16: Contributors
api.github.com/repos/pytest-dev/pytest-django/contributors