fix(Makefile): step to generate html coverage site

This commit is contained in:
Markus Pesch 2020-01-18 14:41:17 +01:00
parent 3581424bd2
commit 546139492b
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View File

@ -11,3 +11,6 @@ flucky.tar.xz
# directories # directories
.vscode/ .vscode/
# coverage files
coverage*

View File

@ -184,7 +184,10 @@ test/goldenfiles/bindata.go:
# ============================================================================== # ==============================================================================
PHONY+=test/unit PHONY+=test/unit
test/unit: clean bindata test/unit: clean bindata
go test -v ./... go test -coverprofile coverage.html -v ./...
test/cover-html: test/unit
go tool cover -html coverage.html
# PACKAGES # PACKAGES
# ============================================================================== # ==============================================================================