goverage

command module
v0.0.0-...-1a5f19e Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2017 License: MIT Imports: 10 Imported by: 0

README

goverage - go test -coverprofile for multiple packages

CircleCI LICENSE

The solution of https://github.com/golang/go/issues/6909 with one binary.

Installation

go get -u github.com/haya14busa/goverage

Usage

Usage:  goverage [flags] -coverprofile=coverage.out packages

Flags:
  -covermode string
        sent as covermode argument to go test
  -coverprofile string
        Write a coverage profile to the file after all tests have passed
  -cpu string
        sent as cpu argument to go test
  -parallel string
        sent as parallel argument to go test
  -race
        enable data race detection
  -short
        sent as short argument to go test
  -timeout string
        sent as timeout argument to go test
  -v    sent as v argument to go test
$ goverage -v -coverprofile=coverage.out ./...
$ go tool cover -html=coverage.out

🐦 Author

haya14busa (https://github.com/haya14busa)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
example

Jump to

Keyboard shortcuts

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