cobertool
is a simple utility for processing Cobertura code coverage reports. It can currently compute code coverage from multiple reports.
The Cobertura format is one of the most common code coverage report formats across different programming language ecosystems. However, the Cobertura tools are very Java-centric and infrequently updated. It's somewhat cumbersome to merge coverage reports or generate HTML reports from Cobertura reports exported by coverage tools from different language ecosystems. cobertool
was built to address these issues and make dealing with Cobertura reports as painless as possible.
Several "standard" coverage libraries for various languages have Cobertura output built in:
- JavaScript supports Cobertura with istanbul
- Python supports Cobertura with nosetest and pytest
- Scala supports Cobertura with scoverage
There are also several coverage format conversion tools:
- Go has gocov-xml
- Erlang has covertool
- .NET has OpenCoverToCoberturaConverter
- JaCoCo has cover2cover
- Finally, LCOV reports can be converted using lcov-to-cobertura-xml
Made by Ivan Malopinsky.