From 1593ff5c52b34e7003c3baf0215d13de2dc908a8 Mon Sep 17 00:00:00 2001 From: Ross Patterson Date: Thu, 24 Sep 2020 11:00:56 -0700 Subject: [PATCH] test(coverage): Include human-readable coverage report While the XML coverage report is useful for consumption by other tools, such as currently by codecov.io in CI, it's not very useful for humans reviewing the immediate impact of changes on coverage during local development or while monitoring CI output. I don't think running the text report takes much more time so I don't see a downside here. --- .coveragerc | 4 ++++ tox.ini | 1 + 2 files changed, 5 insertions(+) diff --git a/.coveragerc b/.coveragerc index eaac16d82..636258717 100644 --- a/.coveragerc +++ b/.coveragerc @@ -10,3 +10,7 @@ omit = */allmydata/_version.py parallel = True branch = True + +[report] +show_missing = True +skip_covered = True diff --git a/tox.ini b/tox.ini index fd5bdefad..1452ba9b5 100644 --- a/tox.ini +++ b/tox.ini @@ -67,6 +67,7 @@ commands = coverage: coverage run -m twisted.trial {env:TAHOE_LAFS_TRIAL_ARGS:--rterrors --reporter=timing} {posargs:{env:TEST_SUITE}} coverage: coverage combine coverage: coverage xml + coverage: coverage report [testenv:integration]