add junit xml reporting to pytest

also add file location to gitignore preemptively
This commit is contained in:
Leo Hemsted
2016-08-31 15:02:27 +01:00
parent c0247d93c8
commit 00cac0f88b
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

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

View File

@@ -30,5 +30,5 @@ fi
pep8 .
display_result $? 1 "Code style check"
py.test --cov=app --cov-report=term-missing tests/
py.test --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml
display_result $? 2 "Unit tests"