Skip to content

Commit

Permalink
Update Makefile to view test coverage html
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGamba committed Apr 4, 2020
1 parent 1ae118b commit 30b1fba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

test:
go test -coverprofile=coverage.txt -covermode=atomic ./ ./completion/ ./option ./help

view: test
go tool cover -html=coverage.txt

0 comments on commit 30b1fba

Please sign in to comment.