Domain-Aware Policies
Set different coverage thresholds for each domain. Core logic at 90%, utilities at 60%.
Your core business logic deserves 90% coverage. Your HTTP handlers? Maybe 70%. coverctl lets you define and enforce these policies per domain.
Traditional coverage tools give you one number for your entire codebase. But real applications have layers:
A single percentage hides these distinctions. You either over-test utilities or under-test critical paths.
Define coverage policies that match your architecture:
version: 1policy: default: min: 70 domains: - name: core match: ["./internal/core/..."] min: 90 - name: api match: ["./internal/api/..."] min: 80 - name: infra match: ["./internal/infra/..."] min: 60exclude: - internal/generated/*# Installgo install github.com/felixgeelhaar/coverctl@latest
# Initialize (interactive wizard)coverctl init
# Enforce policiescoverctl checkThat’s it. Coverage enforcement that understands your architecture.
Domain-Aware Policies
Set different coverage thresholds for each domain. Core logic at 90%, utilities at 60%.
Multi-Language Support
Supports 15 languages including Go, Python, TypeScript, Rust, Java, C#, C/C++, PHP, Ruby, Swift, and more.
CI-Ready
JSON output, GitHub Actions annotations, and exit codes for any CI system.
Auto-Discovery
Automatically detects your project structure. Interactive wizard or --no-interactive for scripts.
coverctl is built with domain-driven design principles. It understands that different parts of your codebase have different criticality levels.
Ready to enforce coverage where it matters?