Run go test
with color.
With Go version >= 1.16
:
go install github.com/haunt98/go-test-color@latest
With Go version < 1.16
:
GO111module=on go get -u github.com/haunt98/go-test-color
# Simply replace go test with go-test-color
go-test-color -v ./...