Skip to content

hhatto/go-cover-coveragepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-cover-coveragepy

This tool outputs Go's coverage results in HTML report format in coverage.py.

The original HTML template used in this report is provided by coverage.py.

Installation

require Go 1.21+

go install github.com/hhatto/go-cover-coveragepy@latest

Usage

go-cover-coveragepy COVER.out

The HTML of the report is output to the htmlcov directory.

This can be changed with the -o option:

go-cover-coveragepy -o report_html COVER.out

License

Apache 2.0 License