FindSoftware

pytest-django

pytest plugin that provides tools for testing Django projects and applications.

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

Current major version
47
Last release
2026-08-107

Adoption

GitHub stars
1,5492
Contributors
1528

Why these figures do not compare

Sources

  1. 2026-11-16: links, Built on
    pytest-django.readthedocs.io/en/latest/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/pytest-dev/pytest-django
  3. 2026-11-16: Maintainer, Maintained by, Categories, Runtime, Minimum runtime
    github.com/pytest-dev/pytest-django/blob/v4.14.0/pyproject.toml
  4. 2026-11-16: First release
    pypi.org/pypi/pytest-django/json
  5. 2026-11-16: Install with
    github.com/pytest-dev/pytest-django/blob/main/README.rst
  6. 2026-11-16: License
    github.com/pytest-dev/pytest-django/blob/main/LICENSE
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/pytest-dev/pytest-django/releases
  8. 2026-11-16: Contributors
    api.github.com/repos/pytest-dev/pytest-django/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON