mariokaufmann / jacoco2cobertura

Small utility to convert jacoco coverage reports to the Cobertura format (as well as possible).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jacoco2Cobertura

Small utility to convert a Jacoco coverage report to a Cobertura coverage report. This can for example be useful when working with Gitlab CI, which does not support JaCoCo reports yet ( see issue).

Usage

Download the newest release version from the releases page. Then run the utility directly:

./jacoco2cobertura --input-file jacoco.xml --output-file cobertura.xml

If you want to pass source roots (i.e. the absolute path to the folders in which the sources file mentioned in the report are located), you can use the argument --source-root for that:

./jacoco2cobertura --input-file jacoco.xml --output-file cobertura.xml --source-root module1/src/main/java --source-root module2/src/main/java

To find out all available options use the --help option:

./jacoco2cobertura --help

Credit

This repository is a port of cover2cover.

About

Small utility to convert jacoco coverage reports to the Cobertura format (as well as possible).

License:MIT License


Languages

Language:Rust 100.0%