Package Info

python-pytest-django


A Django plugin for py.test


Unspecified

pytest-django allows testing Django projects/applications with the pytest testing tool.

Running the test suite with pytest-django allows tapping into the features that are already present in pytest:

  • Manage test dependencies with pytest fixtures.
  • Less boilerplate tests: no need to import unittest and creating a subclass with methods. Tests can be written as regular functions.
  • Database re-use: no need to re-create the test database for every test run.
  • Run tests in multiple processes for increased speed (with the pytest-xdist plugin).
  • Make use of other pytest plugins.
  • Works with both worlds: Existing unittest-style TestCase's still work without any modifications.

License: BSD-3-Clause
URL: https://github.com/pytest-dev/pytest-django

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
3.1.2-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-django
  • python3-pytest-django
3.4.8-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-django
  • python3-pytest-django
3.9.0-bp152.1.3 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-django
  • python3-pytest-django
3.9.0-bp153.1.21 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-django
  • python3-pytest-django