Is there a setting I can put in the .coveragerc file under [report] to omit files that have 100% test coverage in my report?

The closest thing I found was the exclude_lines option, but this only works for a regex pattern inside the code of your project, not for the report itself.

有帮助吗?

解决方案

I don't believe so. Try submitting a Feature Request or writing such a feature and submitting a Pull Request.

See: http://nedbatchelder.com/code/coverage/config.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top