Like go test
but with colors.
gotest will do the same as go test, but with colors.
it will show:
- a clickable file & line number on a fail for easy fixing
- the total of fails
- the busy time
$ go install github.com/marcelloh/gotest@latest
or
$ go get -u github.com/marcelloh/gotest
or get a specific version, like this:
$ go install github.com/marcelloh/gotest@v1.19.6
$ go get -u github.com/marcelloh/gotest@v1.19.0
Accepts all the arguments and flags go test
works with.
Example:
$ gotest -v ./...