cover

command
v1.42.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 11 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