coverage

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command coverage wraps `go test -coverprofile` and enforces budgets.

coverage report             Run tests with coverage; print summary.
coverage budget [-min N]    Run + assert overall coverage ≥ N%.
coverage per-package        Run + print per-package coverage.

Stage D ships an overall budget. Per-file regression detection lands once a baseline file (coverage/baseline.txt) exists; for now the tool only enforces the floor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL