[Haskell-cafe] Re: QuickCheck subsumes unit testing

Joel Reymont joelr1 at gmail.com
Sat Apr 21 03:52:12 EDT 2007


On Apr 21, 2007, at 2:54 AM, Donald Bruce Stewart wrote:

> Just to walk the walk, and not just talk the talk, here's a quick unit
> testing 'diff' driver I hacked up for QuickCheck.

Yay! I'll be the first to switch over!

> Note that we actually probably want to use SmallCheck here,

I don't have an idea of when to prefer SmallCheck over QuickCheck. An  
explanation and, possibly, a tutorial would be very welcome! Anyone?

> Note also, the driver would need further extending, since we've  
> changed
> the structure of the Testable values.

Can you elaborate on "further extending"? What direction should I  
extend it in?

	Thanks, Joel

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list