All Projects → msoap → Go Carpet

msoap / Go Carpet

Licence: mit
go-carpet - show test coverage in terminal for Go source files

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Go Carpet

Webpack Dashboard
A CLI dashboard for webpack dev server
Stars: ✭ 13,850 (+6495.24%)
Mutual labels:  cli
Oci Cli
Command Line Interface for Oracle Cloud Infrastructure
Stars: ✭ 207 (-1.43%)
Mutual labels:  cli
Gojson
Automatically generate Go (golang) struct definitions from example JSON
Stars: ✭ 2,439 (+1061.43%)
Mutual labels:  cli
Chatette
A powerful dataset generator for Rasa NLU, inspired by Chatito
Stars: ✭ 205 (-2.38%)
Mutual labels:  cli
Facebook Dl
📼 Very minimal Facebook downloader written in 28 lines of Python code (not including comments and blank spaces)
Stars: ✭ 207 (-1.43%)
Mutual labels:  cli
Stonky
A command line dashboard for monitoring stocks
Stars: ✭ 208 (-0.95%)
Mutual labels:  cli
Sclack
The best CLI client for Slack, because everything is terrible!
Stars: ✭ 2,363 (+1025.24%)
Mutual labels:  cli
Vsh
vsh - HashiCorp Vault interactive shell and cli tool
Stars: ✭ 209 (-0.48%)
Mutual labels:  cli
Procdump For Linux
A Linux version of the ProcDump Sysinternals tool
Stars: ✭ 2,507 (+1093.81%)
Mutual labels:  cli
Bcrypt
A Java standalone implementation of the bcrypt password hash function. Based on the Blowfish cipher it is the default password hash algorithm for OpenBSD and other systems including some Linux distributions. Includes a CLI Tool.
Stars: ✭ 207 (-1.43%)
Mutual labels:  cli
Storyblok
You found an issue with one of our products? - submit it here as an issue!
Stars: ✭ 206 (-1.9%)
Mutual labels:  cli
Aws Recon
Multi-threaded AWS inventory collection tool with a focus on security-relevant resources and metadata.
Stars: ✭ 203 (-3.33%)
Mutual labels:  cli
Nord Xresources
An arctic, north-bluish clean and elegant Xresources color theme.
Stars: ✭ 210 (+0%)
Mutual labels:  cli
Starport
The easiest way to build a blockchain.
Stars: ✭ 204 (-2.86%)
Mutual labels:  cli
Jsonexport
{} → 📄 it's easy to convert JSON to CSV
Stars: ✭ 208 (-0.95%)
Mutual labels:  cli
.tmux
🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
Stars: ✭ 15,594 (+7325.71%)
Mutual labels:  cli
Stow
GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
Stars: ✭ 207 (-1.43%)
Mutual labels:  cli
Xcolor
Lightweight color picker for X11
Stars: ✭ 209 (-0.48%)
Mutual labels:  cli
Gscholar
Query Google Scholar with Python
Stars: ✭ 209 (-0.48%)
Mutual labels:  cli
Particle Cli
Command Line Interface for Particle Cloud and devices
Stars: ✭ 208 (-0.95%)
Mutual labels:  cli

go-carpet - show test coverage for Go source files

GoDoc Build Status Coverage Status Report Card Homebrew formula exists

To view the test coverage in the terminal, just run go-carpet.

It works outside of the GOPATH directory. And it works recursively for multiple packages.

With -256colors option, shades of green indicate the level of coverage.

By default skip vendor directories (Godeps,vendor), otherwise use -include-vendor option.

Usage

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 -R option:

go-carpet | less -R

Install

From source:

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

Screenshot

screen shot 2016-03-06

See also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].