From: Tommy Carpenter Date: Mon, 26 Aug 2019 14:12:44 +0000 (-0400) Subject: Print a terminal coverage report when running tests X-Git-Tag: 0.10.3 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Ftags%2F0.10.3;p=ric-plt%2Fa1.git Print a terminal coverage report when running tests Change-Id: I4b5a86c9a89e890b40766013ef366494e8caba83 Signed-off-by: Tommy Carpenter --- diff --git a/tox.ini b/tox.ini index 5393490..b621d02 100644 --- a/tox.ini +++ b/tox.ini @@ -26,9 +26,9 @@ setenv = LD_LIBRARY_PATH = /usr/local/lib/:/usr/local/lib64 RMR_RCV_RETRY_INTERVAL = 1 RMR_RETRY_TIMES = 2 -commands= + # Note, before this will work, for the first time on that machine, run ./install_deps.sh - pytest --verbose --cov {envsitepackagesdir}/a1 --cov-report html +commands=pytest --verbose --cov {envsitepackagesdir}/a1 --cov-report term-missing --cov-report html [testenv:flake8] basepython = python3.7