Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.03 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.03 KB

gocol

Go color your test coverage! ✨

go test -cover ./... | gocol

gocol will turn this:

gocol 1

into this!

gocol 2

See immediately how much your projects is covered!

Installation

To install gocol just use go install

go install github.com/enrichman/gocol@v0.0.1

Usage

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.

gocol 4

Colors and ranges 🌈

Currently only a fixed range of colors and percentage is available.

gocol 3

Feedback

If you like the project please star it on Github 🌟, and feel free to drop me a note, or open an issue!

Twitter

License

MIT