Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.39 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.39 KB

coverage-parser

Circle CI Codacy Badge Codacy Badge Maven Central

Scala library for parsing coverage reports.

Currently we support Jacoco and Cobertura reports.

Both CoberturaParser and JacocoParser receive the language, the project root, and the file containing the coverage report, producing the Codacy coverage format

Usage:

val reader = new CoberturaParser(Language.Scala, rootProjectDir, coberturaFile)
val report = reader.generateReport()