Go Testing
Testing🔗
- Go test will automatically ignore directories and files starting with
.
or_
, see go command - cmd/go - pkg.go.dev.
Gotestsum🔗
Install with: go install gotest.tools/gotestsum@latest
.
Then run like this: gotestsum
or try the alternative formats like: gotestsum --format dots-v2
or --format pkgname
, or --format testname
.