I've just started using @bogdan's nice property-testing package rackcheck (includes shrinking!), and I can't figure out the syntax for adding a name to a property.
I'd like to give a name to my property ahead of adding more properties.
How do I do that?
Really liking the package:
I TDD-ed some tricky code, and wanted more checking to find uncovered cases, which it did
Suggestion: some examples in the Scribble documentation
One other question, with the shrink behaviour for gen:integer-in, would it be preferable to have it shrink towards 0 rather than the lower bound when 0 is within the range?
It's been a while since I've looked at the implementation, but I think the individual shrink trees for gen:integer-in already shrink toward zero. The error reporting code doesn't walk all the trees to avoid spending a lot of time shrinking, so it might sometimes choose a path that doesn't have 0 in it. I'll see about improving the ordering to make a hit on 0 more likely.