mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 01:38:24 -04:00
Merge pull request #920 from alphagov/junit-test-results
add junit xml reporting to pytest
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -40,8 +40,8 @@ htmlcov/
|
|||||||
.coverage
|
.coverage
|
||||||
.coverage.*
|
.coverage.*
|
||||||
.cache
|
.cache
|
||||||
nosetests.xml
|
|
||||||
coverage.xml
|
coverage.xml
|
||||||
|
test_results.xml
|
||||||
*,cover
|
*,cover
|
||||||
|
|
||||||
# Translations
|
# Translations
|
||||||
|
|||||||
@@ -34,5 +34,5 @@ npm test
|
|||||||
display_result $? 2 "Front end code style check"
|
display_result $? 2 "Front end code style check"
|
||||||
|
|
||||||
## Code coverage
|
## Code coverage
|
||||||
py.test -n2 --cov=app --cov-report=term-missing tests/
|
py.test -n2 --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml
|
||||||
display_result $? 3 "Code coverage"
|
display_result $? 3 "Code coverage"
|
||||||
|
|||||||
Reference in New Issue
Block a user