Untested modules excluded from hpc coverage report
If I add a new module to my project without adding testing and then generate a code coverage report, there is no mention of the new module in the report.
I believe the correct behavior is for the module to be included with it being 0% covered (w/corresponding highlighted source)
I posted some details here: https://www.reddit.com/r/haskell/comments/9mjwr6/how_to_get_hpc_to_include_fullyuncovered_modules/
As a workaround, I could probably use the hpc library to add 0% coverage for all modules to tix files. But that feels hacky.
Trac metadata
Trac field | Value |
---|---|
Version | 8.4.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Code Coverage |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |