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
Click to show internal directories.
Click to hide internal directories.