gituser/production/: pytest-django-3.8.0 metadata and description

Homepage Simple index

A Django plugin for pytest.

author Andreas Pelme
author_email andreas@pelme.se
classifiers
  • Development Status :: 5 - Production/Stable
  • Framework :: Django
  • Framework :: Django :: 1.8
  • Framework :: Django :: 1.9
  • Framework :: Django :: 1.10
  • Framework :: Django :: 1.11
  • Framework :: Django :: 2.0
  • Framework :: Django :: 2.1
  • Framework :: Django :: 2.2
  • Framework :: Django :: 3.0
  • Intended Audience :: Developers
  • License :: OSI Approved :: BSD License
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3.4
  • Programming Language :: Python :: 3.5
  • Programming Language :: Python :: 3.6
  • Programming Language :: Python :: 3.7
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: Implementation :: CPython
  • Programming Language :: Python :: Implementation :: PyPy
  • Topic :: Software Development :: Testing
license BSD-3-Clause
maintainer Andreas Pelme
maintainer_email andreas@pelme.se
project_urls
  • Source, https://github.com/pytest-dev/pytest-django
provides_extras testing
requires_dist
  • pytest (>=3.6)
  • pathlib2 ; python_version < "3.4"
  • sphinx ; extra == 'docs'
  • sphinx-rtd-theme ; extra == 'docs'
  • Django ; extra == 'testing'
  • django-configurations (>=2.0) ; extra == 'testing'
  • six ; extra == 'testing'
requires_python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
File Tox results History
pytest_django-3.8.0-py2.py3-none-any.whl
Size
19 KB
Type
Python Wheel
Python
2.7
PyPI Version Supported Python versions Build Status Coverage

Welcome to pytest-django!

pytest-django allows you to test your Django project/applications with the pytest testing tool.

Install pytest-django

pip install pytest-django

Why would I use this instead of Django’s manage.py test command?

Running your test suite with pytest-django allows you to tap into the features that are already present in pytest. Here are some advantages:

  • Manage test dependencies with pytest fixtures.

  • Less boilerplate tests: no need to import unittest, create a subclass with methods. Write tests 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.

See the pytest documentation for more information on pytest itself.