Created
June 27, 2022 16:21
-
-
Save jredh/82b2595a06a8dd6f00fba5a1affdc357 to your computer and use it in GitHub Desktop.
go cover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir .coverage || echo "coverage folder exists" | |
go test -v -cover ./... -coverprofile .coverage/coverage.out | |
go tool cover -html=.coverage/coverage.out -o .coverage/coverage.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment