Pedal Assist Coding logo

Pedal Assist Coding

Archives
RSS Feed
CommonsWare
Log in
May 24, 2026

koverGate 0.3.0

In Which the Author Start to Wander Past the Project's Name

koverGate 0.3.0 is now available. koverGate is a Gradle plugin that helps coding agents have an easier and more reliable time of interpreting test coverage results.

This release adds two main improvements: Android instrumented test support and scoped reports.


Previously, koverGate relied purely on Kover, and Kover does not support Android instrumented tests. The Android Gradle Plugin supports test coverage, powered by JaCoCo and using JaCoCo output files. koverGate can now leverage those files as well, giving you three total scenarios:

  • Unit tests only with Kover (good for pure Kotlin modules or non-Android multiplatform modules)
  • Unit tests via Kover and Android instrumented tests
  • Unit tests via JaCoCo and Android instrumented tests

For the latter two, koverGate takes both coverage reports into account. The gap report that koverGate generates for agents reports code that is covered by neither set of tests.


Ideally, your project has test coverage enabled in every module and you have decent coverage throughout. In reality, many projects have not bothered with test coverage or are in the process of slowly ramping up coverage.

For contributions to such projects, one possible objective is to improve test coverage in the areas that were modified, while not contributing a ton of unrelated tests simply to boost that coverage. For example, you might have a topic branch with some changes, and you want to do coverage analysis related to the changes that you made. This requires computing the intersection between a git diff and the coverage report(s), or else just "eyeballing" the coverage reports to decide which gaps should be addressed on this topic branch and which should not.

koverGate now supports "scoped reports". In addition to generating a full coverage report as it had previously, you can use distinct Gradle tasks to generate a report whose coverage gaps are scoped in some fashion. The one scoped report that koverGate supports now is the git diff scenario that I mentioned above: the report only points out coverage gaps in lines directly affected by the changes in the current branch.

As always, reach out if you encounter problems with koverGate or have questions!

Don't miss what's next. Subscribe to Pedal Assist Coding:

Add a comment:

You're not signed in. Posting this comment will subscribe you to this newsletter with the email address you enter below.
Bluesky
androiddev.social
commonsware.com
Powered by Buttondown, the easiest way to start and grow your newsletter.