-
-
Save novalagung/989344aa8ebc72a13088c812dc6c41eb to your computer and use it in GitHub Desktop.
golang test coverage html
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
#!/bin/bash | |
go test -coverprofile=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