From: E. Scott Daniels Date: Fri, 16 Oct 2020 14:18:32 +0000 (-0400) Subject: Add xml coverage capture location to tox X-Git-Tag: 1.6.0~2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=fbac125691a8c415e6ffaac648f96ce235986b0b;p=ric-plt%2Fxapp-frame-py.git 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 --- 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]