<div dir="ltr">I am looking for a QuickCheck-like test framework which exposes data generators (like QuickCheck's Arbitrary class) with Generic defaults.<div><br></div><div>I have seen that SmallCheck's Serial class has Generic defaults, but it isn't particularly good for my purpose (I'd like to use the generator to populate deeply nested data types, and SmallCheck's generator requires computing a few million values before I get any interesting ones)  Something "random" would be more useful for my purpose.</div>
<div><br></div><div>I know that the plan depends on my vaguely abusing the test-case generator, but I plan on doing some testing anyway, so I figured I should reuse the instance.</div><div><br></div><div>That said, I'd be willing to use any random value type class with Generic-default instances.</div>
<div><br></div><div>Does anybody have any suggestions?</div></div>