Add code coverage

This commit is contained in:
Chris Hill-Scott
2016-06-17 17:09:46 +01:00
parent 9a79f0fbbb
commit 4f145c245a
4 changed files with 5 additions and 7 deletions

View File

@@ -27,10 +27,5 @@ function display_result {
pep8 .
display_result $? 1 "Code style check"
## Code coverage
#py.test --cov=app tests/
#display_result $? 2 "Code coverage"
py.test -v tests/
display_result $? 3 "Unit tests"
py.test --cov=app --cov-report=term-missing tests/
display_result $? 2 "Unit tests"