From 9c4a516b3c7bde80295b834c4b0740fac6e24f50 Mon Sep 17 00:00:00 2001 From: Jakub Jarosz <99677300+jjngx@users.noreply.github.com> Date: Tue, 1 Mar 2022 16:13:43 +0000 Subject: [PATCH] Show coverage report in HTML format (#2465) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index d6decfa9c3..18a97c8ffb 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,10 @@ test: ## Run tests cover: ## Generate coverage report @./hack/test-cover.sh +cover-html: ## Generate and show coverage report in HTML format + go test -shuffle=on -race ./... -count=1 -cover -covermode=atomic -coverprofile=coverage.out + go tool cover -html coverage.out + .PHONY: verify-codegen verify-codegen: ## Verify code generation ./hack/verify-codegen.sh