msoap

go-carpet

msoap

A tool for displaying test coverage of Go source files directly in the terminal, with 256-color gradient coverage indication and recursive multi-package support.

v1.10.0
Published at
Dec 7, 2022
250
Stars
2,518
Download
Synced at
21d ago

Latest release

v1.10.0Dec 7, 2022, 10:09 PM
Downloads slow? Switch the source anytime above

README

Project Overview

go-carpet is a tool that shows test coverage for Go source files in the terminal. Just run go-carpet to view test coverage.

Key Features

  • Terminal coverage display
  • 256-color support: Shades of green indicate coverage levels
  • Recursive multi-package processing
  • Skip vendor directories (by default)
  • Coverage threshold filtering: -mincov option

Target Audience

  • Go developers
  • Developers who need to view test coverage

Quick Start

  1. Install: go install github.com/msoap/go-carpet@latest
  2. Or download binaries from Releases
  3. Run: go-carpet
  4. Use -256colors for more colors

Core Advantages

  • View coverage directly in the terminal
  • 256-color gradient display
  • Recursive multi-package processing

System Requirements

  • OS: macOS, Linux, Windows
  • Architectures: x86_64, arm64

Release history

Sort