add junit xml reporting to pytest

This commit is contained in:
Leo Hemsted
2016-08-31 15:15:28 +01:00
parent ee447ba6a4
commit 008c88e42c
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -40,8 +40,8 @@ htmlcov/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
test_results.xml
*,cover
# Translations

View File

@@ -34,5 +34,5 @@ npm test
display_result $? 2 "Front end code style check"
## 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"