coveragegate

command
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Command coveragegate enforces the critical package coverage floors.

It reads a floors manifest and a Go coverprofile produced by "go test -coverprofile", attributes the profile statements to packages via the module path in go.mod, and fails when any manifest package is missing from the profile, malformed input is found, or a package's coverage drops below its floor. Exactly meeting a floor passes.

Exit codes: 0 when every required package meets its floor, 1 otherwise.

Jump to

Keyboard shortcuts

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