METADATA 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Metadata-Version: 2.0
  2. Name: pytest-django
  3. Version: 3.1.2
  4. Summary: A Django plugin for pytest.
  5. Home-page: https://pytest-django.readthedocs.io/
  6. Author: Andreas Pelme
  7. Author-email: andreas@pelme.se
  8. License: BSD-3-Clause
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Framework :: Django
  12. Classifier: Intended Audience :: Developers
  13. Classifier: License :: OSI Approved :: BSD License
  14. Classifier: Operating System :: OS Independent
  15. Classifier: Programming Language :: Python
  16. Classifier: Topic :: Software Development :: Testing
  17. Classifier: Programming Language :: Python :: 2.7
  18. Classifier: Programming Language :: Python :: 3.2
  19. Classifier: Programming Language :: Python :: 3.3
  20. Classifier: Programming Language :: Python :: 3.4
  21. Classifier: Programming Language :: Python :: 3.5
  22. Requires-Dist: pytest (>=2.9)
  23. .. image:: https://secure.travis-ci.org/pytest-dev/pytest-django.png?branch=master
  24. :alt: Build Status
  25. :target: https://travis-ci.org/pytest-dev/pytest-django
  26. Welcome to pytest-django!
  27. =========================
  28. pytest-django allows you to test your Django project/applications with the
  29. `pytest testing tool <http://pytest.org/>`_.
  30. * `Quick start / tutorial
  31. <https://pytest-django.readthedocs.io/en/latest/tutorial.html>`_
  32. * `Changelog <https://pytest-django.readthedocs.io/en/latest/changelog.html>`_
  33. * Full documentation: https://pytest-django.readthedocs.io/en/latest/
  34. * `Contribution docs
  35. <https://pytest-django.readthedocs.io/en/latest/contributing.html>`_
  36. * Version compatibility:
  37. * Django: 1.7-1.10 and latest master branch (compatible at the time of each release)
  38. * Python: CPython 2.7,3.3-3.5 or PyPy 2,3
  39. * pytest: >2.9.x
  40. * Licence: BSD
  41. * Project maintainers: Andreas Pelme, Floris Bruynooghe and Daniel Hahler
  42. * `All contributors <https://github.com/pytest-dev/pytest-django/contributors>`_
  43. * Github repository: https://github.com/pytest-dev/pytest-django
  44. * `Issue tracker <http://github.com/pytest-dev/pytest-django/issues>`_
  45. * `Python Package Index (PyPI) <https://pypi.python.org/pypi/pytest-django/>`_
  46. Install pytest-django
  47. ---------------------
  48. ::
  49. pip install pytest-django
  50. Why would I use this instead of Django's `manage.py test` command?
  51. ------------------------------------------------------------------
  52. Running your test suite with pytest-django allows you to tap into the features
  53. that are already present in pytest. Here are some advantages:
  54. * `Manage test dependencies with pytest fixtures. <http://pytest.org/latest/fixture.html>`_
  55. * Less boilerplate tests: no need to import unittest, create a subclass with methods. Write tests as regular functions.
  56. * Database re-use: no need to re-create the test database for every test run.
  57. * Run tests in multiple processes for increased speed (with the pytest-xdist plugin).
  58. * Make use of other `pytest plugins <http://pytest.org/latest/plugins.html>`_.
  59. * Works with both worlds: Existing unittest-style TestCase's still work without any modifications.
  60. See the `pytest documentation <http://pytest.org/latest/>`_ for more information on pytest itself.