Updates to setup/requirements, add Makefile target for running tests with coverage.

This commit is contained in:
Chris Church
2013-05-21 19:08:46 -04:00
parent aeac739735
commit 9478d8d532
6 changed files with 72 additions and 32 deletions

View File

@@ -58,6 +58,14 @@ dbshell:
test:
python manage.py test main
test_coverage:
# Run tests with coverage enabled.
coverage run manage.py test main
coverage_html:
# Output test coverage as HTML (into htmlcov directory).
coverage html
dev_build:
python setup.py dev_build