Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
duxiaocheng opened this issue Apr 9, 2024 · 1 comment
Open

Comments

@duxiaocheng
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants