Skip to content

Files

Latest commit

author
Janos Bonic
Oct 9, 2022
85a11ea · Oct 9, 2022

History

History

profile

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 9, 2022

Go Test Tools

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.

gotestfmt: go test output for humans

Are you tired of scrolling through endless Golang test logs in GitHub Actions (or other CI systems)?

An animation showcasing that gotestfmt transforms a text log into an interactive log with folding sections.

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.

Read more »


limgo: Don't let your test coverage drop

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

Read more »