go-carpet alternatives and similar packages
Based on the "Testing Frameworks" category.
Alternatively, view go-carpet alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of go-carpet or a related project?
go-carpet - show test coverage for Go source files
To view the test coverage in the terminal, just run
It works outside of the
GOPATH directory. And it works recursively for multiple packages.
-256colors option, shades of green indicate the level of coverage.
By default skip vendor directories (Godeps,vendor), otherwise use
usage: go-carpet [options] [paths] -256colors use more colors on 256-color terminal (indicate the level of coverage) -args string pass additional arguments for go test -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
For view coverage in less, use
go-carpet | less -R
go get -u github.com/msoap/go-carpet sudo ln -s $(go env GOPATH)/bin/go-carpet /usr/local/bin/go-carpet
Download binaries from: releases (OS X/Linux/Windows)
Install from homebrew (OS X):
brew tap msoap/tools brew install go-carpet # update: brew upgrade go-carpet