Bring some color to go test
.
Inspired by https://github.com/rakyll/gotest and https://github.com/kyoh86/richgo.
Please check the above, for a more complete solution.
For Go 1.16+:
$ go install github.com/joaonsantos/gotestcolor@latest
Use gotestcolor
just like you would go test
.
You can also replace go test
with gotestcolor
in your local makefiles.
Example:
$ gotestcolor -v -count=1 ./...