--:----:--Keyboard shortcuts (?)Fullscreen (f)

gospec in action - colorized go test output

by icyflame
GNU/Linux ◆ xterm-256color ◆ zsh 165 views

https://github.com/icyflame/gospec

go test is a great tool for writing tests, but it’s output is not very useful during debugging. It just dumps the complete test log into the terminal, and one is left dealing with a wall of text.

gospec is a bash tool that uses the -json option provided by go test and tries to make the output a little bit easier to understand and work with.