diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..1933172 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[run] +branch = True +omit = wooey/conf*,wooey/migrations*,wooey/tests* diff --git a/Makefile b/Makefile index e03ee5b..33fe25a 100644 --- a/Makefile +++ b/Makefile @@ -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