florence/cover

Support XML/JSON output formats

Opened this issue · 0 comments

If my understanding is correct, the coverage tools use some sort of standard formats[1]. Packages like cover-codecov generate and upload these files, however uploading is dependent on CI environment.

It would be nice to just move generating these formats to this package, so that we can just generate XML/JSON files and upload them using some third-party tool (e.g. I'm using codecov-action for Github Actions). This makes unnecessary/optional for Cover to separate packages for different CI and keeping up with their APIs.

[1] https://docs.codecov.io/docs/supported-report-formats