[Haskell-cafe] QuickCheck properties: export or not?

Neil Mitchell ndmitchell at gmail.com
Mon Jan 14 18:28:24 EST 2008


Hi

> standard "quickcheck" script.  The contributor, gwern0 at gmail.com
> suggested an explicit test harness instead.

Unless you have a test harness (ideally through Cabal), the properties
will go out of sync, and you'll forget to run them. Tests are good,
they should be able to be invoked as standard. Every time I've *not*
done a test harness, and then relied on manually remembering things or
putting them in the documentation, it has gone wrong very quickly!

Thanks

Neil


More information about the Haskell-Cafe mailing list