aconrad / pycobertura

A code coverage diff tool for Cobertura reports
MIT License
114 stars 39 forks source link

Partially covered lines should appear in yellow with a tooltip X of Y branches missed #180

Open nbauma109 opened 5 months ago

nbauma109 commented 5 months ago

Currently partially covered lines appear in green. Green is reserved for full coverage. Like in jacoco report, it should show partially covered lines in yellow and a tooltip indicating "X of Y branches missed".

aconrad commented 5 months ago

Thanks for your report.

I have a pull request I'm working on for partial coverage. It's currently not supported but I lost steam and I haven't made progress on it lately. But if there's interest shown I can consider working on it again.

aconrad commented 5 months ago

That's the PR: https://github.com/aconrad/pycobertura/pull/168

If I recall the code supports partial coverage but I still need to update the renderers to make them aware of partial coverage. I think that's the main piece left.

zackw commented 4 weeks ago

I would also find this feature useful, FWIW.