
30 Apr
2008
30 Apr
'08
4:22 p.m.
igloo:
On Wed, Apr 30, 2008 at 11:08:07AM -0700, Donald Bruce Stewart wrote:
What if we used QC tests with SmallCheck generators, so you actually got decent search through the value space, rather than just a random walk?
This might be better than the normal QC way, but I don't think it's the best way to write tests. e.g. for some tests on Integer the interesting values might be [0..], while for other tests they might be 2^n +/- [-3..3].
So then it comes down the to property writer. I don't think it makes sense to not include tests at all, when we have them. *Any* testing (even QuickCheck -depth 4 ) is better than none. -- Don