Delta Coverage

February 8, 2026 ยท View on GitHub

GitHub Release Build GitHub issues GitHub stars

aggregated functionalTest test

Code coverage for what matters โ€” your changes.

Delta Coverage is a Gradle plugin that computes code coverage of new/modified code based on a git diff. Focus on testing what you've changed, not the entire codebase.

๐Ÿ“– Full Documentation

Delta Coverage HTML Report

Quick Start

1. Apply the plugin (root project)

plugins {
    id("io.github.gw-kit.delta-coverage") version "3.6.0"
}

2. Configure diff source

configure<io.github.surpsg.deltacoverage.gradle.DeltaCoverageConfiguration> {
    diffSource.git.compareWith.set("refs/remotes/origin/main")
}

3. Run

./gradlew test deltaCoverage

Reports are generated in build/reports/coverage-reports/.

Compatibility

Delta CoverageGradleMin JVM
3.x7.6.4+17
2.5.x6.7.1 - 8.10.211

License

MIT