Bachmann1234 / diff_cover

Automatically find diff lines that need test coverage.
Apache License 2.0
713 stars 191 forks source link

How to show the covered line in the diff coverage html report? #398

Open duxiaocheng opened 7 months ago

duxiaocheng commented 7 months ago

Hi, all,

I know that current diff coverage html report only shows the missing lines with red-background. I want to know if the covered lines can be also shown in that html report. PS, it is better that per file diff coverage statistic also include the total lines.

The purpose is to have a complete/full overview of this diff code change, not missing lines only.

Thanks!

Bachmann1234 commented 7 months ago

So this is not currently implemented.

If someone were to write a pr I would be open to merging it but it would be a larger or as diff-cover currently does not track covered lines anywhere I believe

But doing so would only require pulling more info out of the underlying coverage report so it could be possible.