Discover Packages
github.com/neilgarb/covertool
command
module
Version:
v0.0.0-...-2dcb342
Opens a new window with list of versions in this module.
Published: Apr 18, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
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:
Expand ▾
Collapse ▴
Documentation
¶
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.