No need to run through django for coverage.

parent b9ea2575
......@@ -30,6 +30,10 @@ To make life easier you can use `autopep8`/`isort` before running `tox` to autom
autopep8 -ri failmap_admin tests
isort -rc failmap_admin tests
To run only a specific test use:
tox -- -k test_name
To only run a specific test suite user for example:
.tox/py34/bin/failmap-admin test tests/test_smarturl.py
......
......@@ -22,6 +22,6 @@ commands =
# ensure fixtures are valid
failmap-admin loaddata testdata
# run testsuite
coverage run --include 'failmap_admin/*' failmap_admin/manage.py test {posargs}
coverage run --include 'failmap_admin/*' -m pytest {posargs}
# generate coverage
coverage report
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment