Created
January 2, 2020 05:34
-
-
Save user3301/2abde1c304c7acee29199384e2124bfd to your computer and use it in GitHub Desktop.
generate golang test coverage with default go CLI
This file contains hidden or 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
| go test ./... -short -coverageprofile=coverage.out | |
| go tool cover -html=coverage.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment