coverage-gate

command
v1.38.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command coverage-gate reads a Go coverage profile and fails if any testable package drops below the configured coverage threshold.

Usage:

go test -coverprofile=coverage.out ./...
go run ./cmd/coverage-gate -profile coverage.out -threshold 93

Jump to

Keyboard shortcuts

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