coveragecheck

command
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command coveragecheck enforces the repo's coverage floor over the paths that count.

It exists instead of a one-liner around `go tool cover -func` because the floor has to be statement-weighted and has to skip an explicit list of paths (PLAN.md "Coverage scope": only cmd/teams/main.go, internal/testing/... and generated code are excluded, and any change to that list needs review).

go run ./internal/testing/coveragecheck -profile coverage.out -min 80 \
    -exclude cmd/teams/main.go -exclude internal/testing

Jump to

Keyboard shortcuts

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