covergate

command
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Command covergate fails unless every statement of the given packages is covered in a Go cover profile. See package covergate.

go test -covermode=atomic -coverprofile=cover.out ./internal/a ./internal/b
go run ./cmd/covergate cover.out ./internal/a ./internal/b

Run it from the module root. The packages are a list, not a pattern.

Jump to

Keyboard shortcuts

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