joelr1:
On Apr 16, 2007, at 9:29 PM, Donald Bruce Stewart wrote:
It's interesting to note that QuickCheck generalises unit testing:
zero-arity QC properties are exactly unit tests.
I don't think this works very well. I rely quite heavily on being
able to compare expected output with
Are there any examples of such custom drivers?
On Apr 16, 2007, at 10:09 PM, Donald Bruce Stewart wrote:
That's just the default driver. Plenty of custom drivers exist which
compare the output. The QC driver is just a function you implement,
after all.
--
http://wagerlabs.com/
I usually roll a new driver for each project, for example:
http://www.cse.unsw.edu.au/~dons/code/fps/tests/QuickCheckUtils.hs
and a smp parallel driver,
http://www.cse.unsw.edu.au/~dons/code/pqc/Test/QuickCheck/Parallel.hs
There's a few examples in Test.QuickCheck too.
joelr1:
Are