go-carpet: github.com/msoap/go-carpet Files

Command go-carpet

go-carpet - show test coverage for Go source files

It works not only in the directory GOPATH. And it works recursively for multiple packages. With -256colors option, shades of green indicate the level of coverage.


go get -u github.com/msoap/go-carpet
ln -s $GOPATH/bin/go-carpet ~/bin/go-carpet


go-carpet [-options] [paths]
    -256colors - use more colors on 256-color terminal (indicate the level of coverage)
    -args - pass additional arguments for go test (for example "-short" or "-i -timeout t")
    -file string - comma-separated list of files to test (default: all)
    -func string - comma-separated functions list (default: all functions)
    -include-vendor - include vendor directories for show coverage (Godeps, vendor)
    -summary - only show summary for each file
    -version - get version

Source: https://github.com/msoap/go-carpet

Package Files

ast.go doc.go go-carpet.go mod.go terminal_posix.go utils.go

Package main imports 20 packages (graph). Updated 2020-12-02. Refresh now. Tools for package owners.