cover

command
v1.75.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

cover is a tool that runs `go test` with cross-package coverage on this repository, ignoring any packages that opt out of coverage with .nocover files. The coverage is written to a coverage.txt file in the current directory.

Usage

Call cover with a list of one or more import paths of packages being tested.

cover PKG ...

This must be run from the root of the project.

Jump to

Keyboard shortcuts

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