Add doc for tox.

This commit is contained in:
Ignacio Fiorentino 2016-07-28 17:18:11 -03:00
parent 6e771ad5ee
commit 3f12db6930

View file

@ -15,8 +15,12 @@ Running Tests
Use `tox <https://pypi.python.org/pypi/tox>`_ for running tests in each of the environments, also to run coverage among::
# Run all tests.
$ tox
# Run a particular test file with Python 2.7 and Django 1.9.
$ tox -e py27-django19 oidc_provider.tests.test_authorize_endpoint
If you have a Django project properly configured with the package. Then just run tests as normal::
$ python manage.py test --settings oidc_provider.tests.app.settings oidc_provider