A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nedbat/coveragepy/issues/976 below:

Make `skip_empty` have an effect on XML reporting · Issue #976 · nedbat/coveragepy · GitHub

Is your feature request related to a problem? Please describe.
It seems setting skip_empty to True in .coveragerc has no effect on XML reporting.

Describe the solution you'd like
I would like setting skip_empty to True to actually skip the empty files during XML reporting.

Describe alternatives you've considered
I can currently omit the empty files, but this not very convenient.

Additional context
I have empty __init__.py files in my project (they are actually only created because Coverage.py requires them to include un-tested files in those directories in the report.) and when I generate an XML report while skip_empty is set to True, those empty files are also in the report. As a result, cobertura plug-in in Jenkins shows wrong results (this might be unrelated).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4