Go color your test coverage! ✨
go test -cover ./... | gocol
gocol
will turn this:
into this!
See immediately how much your projects is covered!
To install gocol
just use go install
go install github.com/enrichman/[email protected]
Pipe the output of a go test -cover
to gocol
go test -cover ./... | gocol
If you are using the verbose -v
then the PASS|FAIL|SKIP
lines will be coloured as well.
Currently only a fixed range of colors and percentage is available.
If you like the project please star it on Github 🌟, and feel free to drop me a note, or open an issue!