Skip to content

Mapana/gocover-cui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocover-cui

en | 中文

Reference go tool cover -html=c.out -o coverage.html display it to the terminal

for example when using in docker, I can't display html, I can try to display the terminal UI.

gocover-cui -cui c.out

Before use

Terminal theme or bash color will affect the final gocover-cui display color

Install

go get

go get github.com/Mapana/gocover-cui

git

git clone https://github.com/Mapana/gocover-cui.git
cd gocover-cui
go install

Key Help

branch and manuals are provided here

Example

cd $GOPATH/src/github.com/Mapana/gocover-cui

gocover-cui -cui=example/example_ls.out -log=example/example_ls.log # Can run -cui or -log separately

gocover-cui -cui=example/example_hs.out -log=example/example_hs.log

Focus in Cover Files

image

toggle option for Cover Files

image

Focus in Data View

image

Plan

  • support log display
  • add keyboard prompt help

About

Imitation go tool cover -html for display terminal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages