Merge pull request #920 from alphagov/junit-test-results

add junit xml reporting to pytest
This commit is contained in:
Leo Hemsted
2016-09-02 09:37:58 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

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

View File

@@ -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"