Easy to use prettifier go test.
Go from classic output, to a colour-coded, easier to read-at-a-glance format.
go test -v -cover ./... | gorgeous
Voila!
Please note:
The -v flag is important for gorgeous to pick up all the relevant information.
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-composewith the--no-ansiflag - ask
gorgeousto strip the prefixes. Ex:gorgeous -prefix="app_1 | "
The prefix should be the entire string prepended by docker-compose
