florence / cover

a code coverage tool for racket
MIT License
38 stars 7 forks source link

Support XML/JSON output formats #150

Open vishesh opened 3 years ago

vishesh commented 3 years ago

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