Closed
Description
For CLI output it's common to set skip-covered=True
in the config file; however, in HTML export you want to set this False so you can see what test covers what line. There's a new flag in this in the API:
--no-skip-covered Disable --skip-covered.
In this case https://github.com/pytest-dev/pytest-cov/blob/master/src/pytest_cov/engine.py#L189 should allow specifying as False (see skip_covered https://github.com/nedbat/coveragepy/blob/0b1dd531f23d8ba313ee685b156b07f76fa680d5/coverage/cmdline.py#L623).
The one danger is that this flag needs to be somehow specified by the user. Potential options for this:
--cov html:out_dir:no-skip-covered
Should we perhaps set this always to False for HTML report? cc @asottile
PS. coveragepy ticket for perhaps a config side solution nedbat/coveragepy#1090
Metadata
Metadata
Assignees
Labels
No labels