From 008c88e42c45e7243fd6682139ff54ac9b920937 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Wed, 31 Aug 2016 15:15:28 +0100 Subject: [PATCH] add junit xml reporting to pytest --- .gitignore | 2 +- scripts/run_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8d5a836e2..2ca538fcb 100644 --- a/.gitignore +++ b/.gitignore @@ -40,8 +40,8 @@ htmlcov/ .coverage .coverage.* .cache -nosetests.xml coverage.xml +test_results.xml *,cover # Translations diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 9bd70ae62..a7cef364f 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -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"