deleted make file and adding testing section to README

This commit is contained in:
Marc LaBelle 2020-04-07 20:24:15 -04:00
parent 8b284f8adf
commit b55fcc2361
2 changed files with 5 additions and 2 deletions

View File

@ -1,2 +0,0 @@
test:
coverage run --source=dj_rest_auth setup.py test

View File

@ -44,7 +44,12 @@ REST_USE_JWT = True
JWT_AUTH_COOKIE = 'jwt-auth' JWT_AUTH_COOKIE = 'jwt-auth'
``` ```
### Testing
To run the tests within a virtualenv, run `python runtests.py` from the repository directory.
The easiest way to run test coverage is with [`coverage`](https://pypi.org/project/coverage/),
which runs the tests against all supported Django installs. To run the test coverage
within a virtualenv, run `coverage run ./runtests.py` from the repository directory then run `coverage report`.
### Documentation ### Documentation