Skip to content

Files

Latest commit

author
Rich Cox
Aug 1, 2019
7f51040 · Aug 1, 2019

History

History
19 lines (12 loc) · 434 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 434 Bytes

coverage

installation

get the app

go get github.com/conejo/coverage

build and install

cd ~/go/src/github.com/conejo/coverage

go install .

running the app

  • by default 'coverage' recursively executes tests in current dir and all sub-dirs
  • -html flag opens default browser with html coverage report

credit

idea and most parts of the script borrowed from: https://mlafeldt.github.io/blog/test-coverage-in-go/