Add doc for tox.
This commit is contained in:
parent
6e771ad5ee
commit
3f12db6930
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue