covertool

command module
v0.0.0-...-2dcb342 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

README

covertool

Calculate total coverage from a Go coverage profile, excluding generated files.

Example usage:

go test -coverprofile=cover.out ./...
covertool -profile=cover.out

# Example output:
total: (statements) 32.66%

Installation:

go install github.com/neilgarb/covertool@latest

Resources:

Documentation

Overview

Command covertool prints out the total coverage from a cover profile, excluding generated files. Generated files are .go files that contain a "DO NOT EDIT" comment.

Jump to

Keyboard shortcuts

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