Skip to content

Scraps jacoco test reports and prints the code coverage to the console

Notifications You must be signed in to change notification settings

camilaac/gradle-print-coverage-plugin

 
 

Repository files navigation

See https://github.com/jansauer/gradle-print-coverage-plugin

Usage

jacocoTestReport {
    enabled = true
    reports {
        xml.isEnabled = true
    }
}

jacocoPrintCoverageStatus {
    finalizedBy(jacocoTestCoverageVerification)
}

jacocoTestCoverageVerification {
    violationRules {
        rule { limit { minimum = "0.7".toBigDecimal() } }
    }
}

About

Scraps jacoco test reports and prints the code coverage to the console

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%