Golang Test Summary
The standard Go tooling doesn’t print a summary of your tests. But on a large project, when you need to see the overall picture, that kind of summary is useful. Say you’re bringing your own fork up to date with upstream and you
need to gauge the size of the problems caused by merging the changes.
The folks at Google built a simple tool for exactly this:
go install gocloud.dev/internal/testing/test-summary@latest
It’s easy to use:
go test -json ./... | test-summary
The last line will print the summary:
ran 888; passed 853; failed 12; skipped 23 (in 23.1 sec)