mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Add code coverage
- generates a code coverage report - triggers Coveralls on every Travis build - adds a badge to the README
This commit is contained in:
@@ -31,8 +31,8 @@ npm test
|
||||
display_result $? 2 "Front end code style check"
|
||||
|
||||
## Code coverage
|
||||
#py.test --cov=app tests/
|
||||
#display_result $? 3 "Code coverage"
|
||||
py.test --cov=app --cov-report=term-missing tests/
|
||||
display_result $? 3 "Code coverage"
|
||||
|
||||
export NOTIFY_ADMIN_ENVIRONMENT='config.Test'
|
||||
py.test -v
|
||||
|
||||
Reference in New Issue
Block a user