diff_cover icon indicating copy to clipboard operation
diff_cover copied to clipboard

XML coverage report

Open Johney9 opened this issue 4 years ago • 1 comments

Hello, great tool! Was a challange to get it working, but after finally wrestling with it for a while, I got a report. Trouble is, as far as I can tell it can only output to console or generate an HTML report.

Is there a way to generate an XML report? Essentially just make a report on the diff. If not, how would I go about implementing this feature and making a PR?

Johney9 avatar Jan 14 '22 22:01 Johney9

So check out the --json-report option.

If you wanted to make an xml version the code would be fairly similar.

To be merged it would need tests and support both diff cover and diff quality.

But if json handles your usecase that's cool as well

Bachmann1234 avatar Jan 14 '22 23:01 Bachmann1234