Add option for xml coverage to pytest 89/2689/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Thu, 5 Mar 2020 15:19:50 +0000 (10:19 -0500)
committerLott, Christopher (cl778h) <cl778h@att.com>
Thu, 5 Mar 2020 15:19:50 +0000 (10:19 -0500)
Also add invocation of coverage tool

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I61d188c72cec0b36f059825246fa99732da715a5

src/bindings/rmr-python/tox.ini

index aeac89e..41e6da6 100644 (file)
@@ -27,8 +27,9 @@ setenv =
     RMR_SEED_RT = tests/fixtures/test_local.rt
     RMR_ASYNC_CONN = 0
 
-
-commands=pytest --verbose --cov {envsitepackagesdir}/rmr  --cov-report term-missing --cov-report html
+commands=
+    pytest --verbose --cov {envsitepackagesdir}/rmr --cov-report xml --cov-report term-missing --cov-report html
+    coverage xml -i
 
 [testenv:flake8]
 basepython = python3.7