Skip to content

Coverage

Ali Sadeghi edited this page Jan 6, 2026 · 2 revisions

Coverage

Generates test coverage reports for all feature modules.

Usage:

/coverage

What it does

  1. Runs Kover coverage tool on all feature modules
  2. Generates HTML reports with line-by-line analysis
  3. Opens reports in browser
  4. Shows coverage percentages by module

Output

  • HTML coverage reports in build/reports/kover/
  • Coverage summary in terminal
  • Line, branch, and instruction coverage metrics

Example Output

Running coverage for all features...
✓ feature:login - 87% coverage
✓ feature:profile - 92% coverage
✓ feature:settings - 78% coverage

Overall coverage: 85%
Report: build/reports/kover/html/index.html

When to use

  • Before merging features
  • To identify untested code paths
  • During code review
  • To meet coverage requirements

Back to Commands

Clone this wiki locally