quickcheck icon indicating copy to clipboard operation
quickcheck copied to clipboard

Color output

Open arrowd opened this issue 4 years ago • 4 comments

It would be neat, if QuickCheck's messages like

+++ OK, passed 1 test.

or

*** Failed! Falsified (after 1 test):  

be colored.

arrowd avatar Jul 08 '20 15:07 arrowd

The test runners like tasty or hspec do that, don't they?

phadej avatar Jul 09 '20 09:07 phadej

Hum. I'm running tests with stack test, but I'll try out tasty/hspec, thanks.

arrowd avatar Jul 09 '20 10:07 arrowd

microspec is pretty close to simply being QuickCheck + color output

tom-audm avatar Jul 09 '20 15:07 tom-audm

I agree with @phadej, let's leave coloring to testing frameworks. QuickCheck should not make guesses whether an output handle supports any colors.

Bodigrim avatar Apr 10 '24 21:04 Bodigrim