kover

Configure and validate Kotlin code coverage in Gradle builds with Kover.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ClankerGuru/opsx --skill kover
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kover
Source: https://github.com/ClankerGuru/opsx/tree/main/cli/src/main/resources/content/skills/kover
Command: npx skills add https://github.com/ClankerGuru/opsx --skill kover

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configures and validates Kotlin code coverage in Gradle builds, simplifying the setup, execution, and verification of tests with the Kover plugin.

Core Features & Use Cases

  • HTML/XML/Binary/Log reports across modules and variants to communicate coverage results.
  • Filters and verification rules to enforce targeted thresholds and clean coverage.
  • Multi-module merging and JaCoCo interoperability to fit larger codebases and diverse toolchains.

Quick Start

Apply the Kotlin Kover plugin in your Gradle build and run the koverVerify task to generate and validate coverage reports.

Frequently Asked Questions about kover

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Kotlin code coverage in a Gradle multi-module project?

To configure Kotlin code coverage in a Gradle multi-module project, apply the Kover plugin to enable multi-module merging, instrumentation controls, and report generation across your modules.

Can I generate HTML and XML coverage reports for specific Android variants?

Yes, you can generate HTML, XML, Binary, and log coverage reports for specific Android variants using Kover's per-variant reporting capabilities via the plugin DSL.

How do I enforce minimum coverage thresholds in a Kotlin Gradle build?

You can enforce minimum coverage thresholds in a Kotlin Gradle build by configuring verification rules in Kover, then running the koverVerify task to validate coverage against your defined limits.

Does Kover work with JaCoCo for Kotlin coverage reporting?

Yes, Kover supports JaCoCo interoperability, allowing you to integrate Kotlin coverage reporting and instrumentation controls within existing Gradle toolchains that utilize JaCoCo formats.

How do I filter excluded classes and packages when measuring Kotlin coverage?

You can filter excluded classes and packages when measuring Kotlin coverage by applying filters through the Kover plugin DSL to ensure clean, targeted coverage reports and verification.