Go Test Tools is a project by two Go developers, @engelmi and @janosdebugs. We aim to make writing and maintaining tests easier for Go projects.
Are you tired of scrolling through endless Golang test logs in GitHub Actions (or other CI systems)?
Then this is the tool for you. Run it locally, or in any CI system with the following command line like this:
set -euo pipefail
go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
Tadam, your tests will now show up in a beautifully formatted fashion. Plug it into your CI and you're done.
Do you need to guard your Go test coverage and make sure it doesn't drop below a limit? Then limgo is the right tool for you.
Simply install it and get started:
go install github.com/GoTestTools/limgo@latest
go test ./... -coverprofile=cov.out
limgo -coverfile=cov.out -config=.limgo.json -v=1