cover-pretty

command module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 6 Imported by: 0

README

cover-pretty

This is a simple tool to mimic the output of go tool cover but with a prettier html page. Work in progress.

img

Installation

go install github.com/skelouse/cover-pretty@latest

Usage

go test -v ./... -coverprofile cover.out -coverpkg ./...
cover-pretty -html || -func

Example

go run .

cover-pretty will walk up the directory tree until it finds a cover.out file. Which so happens to be in the _example directory.

Build
cd _example
go test -v ./... -coverprofile cover.out -coverpkg ./...
cd ..
go run .

Page Development

cd go/cover/react-coverage
npm i
npm run dev

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lib
go
browser
Package browser provides utilities for interacting with users' browsers.
Package browser provides utilities for interacting with users' browsers.

Jump to

Keyboard shortcuts

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