Forum Discussion

cbyndr's avatar
cbyndr
Contributor
15 years ago

excluded elements in the Coverage HTML reports

How can ensure that the coverage HTML reports reflects excluded elements, when generating with testrunner? Currently, in the testrunner-generated report, the uncovered % includes elements that I've set to excluded.

When I view coverage from the UI, excluded elements are generally excluded, as I would expect.

2 Replies

  • Attaching some screen shots might help trouble-shooting.

    First, is test suite coverage of 60%, captured from the UI, reflecting excluded elements:



    This is what we had instead expected from the HTML coverage report set by the option g for testrunner. Instead, we get 45%, as captured in screen-capture-2:



    And more or less jibes with coverage seen in the UI with no excluded elements set:

  • could the issue be that testrunner cannot get at the individual project's settings.xml?