From fbac125691a8c415e6ffaac648f96ce235986b0b Mon Sep 17 00:00:00 2001 From: "E. Scott Daniels" Date: Fri, 16 Oct 2020 10:18:32 -0400 Subject: [PATCH] Add xml coverage capture location to tox The tox init file is changed to add a filename for the capture of coverage data from the unit tests. Issue-ID: RIC-659 Signed-off-by: E. Scott Daniels Change-Id: I349b863ba46ac92a71d6af6fb537a8682dc85a88 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 98c7be1..5142bb1 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ setenv = commands = # add -s flag after pytest to show logs immediately instead of delaying - pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 + pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml coverage xml -i [testenv:flake8] -- 2.16.6