nick8325 / quickcheck

Automatic testing of Haskell programs.
Other
713 stars 119 forks source link

Color output #307

Open arrowd opened 4 years ago

arrowd commented 4 years ago

It would be neat, if QuickCheck's messages like

+++ OK, passed 1 test.

or

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

be colored.

phadej commented 4 years ago

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

arrowd commented 4 years ago

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

tom-audm commented 4 years ago

microspec is pretty close to simply being QuickCheck + color output

Bodigrim commented 5 months ago

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