addition of coveragerc file

This commit is contained in:
Chris Mitchell 2015-06-24 14:56:50 -04:00
parent b13a368278
commit 00347548cd
2 changed files with 5 additions and 2 deletions

3
.coveragerc Normal file
View File

@ -0,0 +1,3 @@
[run]
branch = True
omit = wooey/conf*,wooey/migrations*,wooey/tests*

View File

@ -4,6 +4,6 @@ testenv:
pip install -e .
test:
nosetests tests
coverage run --branch --source=wooey --omit=wooey/conf*,wooey/migrations*,wooey/tests*,wooey/backend/ast* `which django-admin.py` test --settings=wooey.test_settings wooey.tests
nosetests --with-coverage --cover-erase --cover-package=wooey tests
coverage run --branch --source=wooey `which django-admin.py` test --settings=wooey.test_settings wooey.tests
coverage report