Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

14 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages