Skip to content
Pretty go test output
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
filters
.gitignore
.golangci.yml
Makefile
README.md
go.mod
go.modverify
gorgeous
main.go
out.png

README.md

Gorgeous

Easy to use prettifier go test.

Go from classic output, to a colour-coded, easier to read-at-a-glance format.

Usage

go test -v -cover ./... | gorgeous

Voila!

Please note: The -v flag is important for gorgeous to pick up all the relevant information.

Usage with docker-compose

docker-compose prints ansi codes as well as container prefixes, this messes with gorgeous.

For gorgeous to work in this case, please fo the following:

  • run docker-compose with the --no-ansi flag
  • ask gorgeous to strip the prefixes. Ex: gorgeous -prefix="app_1 | "

The prefix should be the entire string prepended by docker-compose

You can’t perform that action at this time.