jeffh / Fox

Property Based Testing Library for Objective-C and Swift. QuickCheck for Apple's Platforms.
http://fox-testing.rtfd.org
Other
624 stars 30 forks source link

FOXFrequency should shrink by generator order. #34

Open jeffh opened 9 years ago

jeffh commented 9 years ago

It would be great for FOXFrequency to also shrink by the order of the generator:

FOXFrequency(@[@[@1, FOXInteger()],
               @[@1, FOXString()]]);

This generator should shrink towards @0, even if the originally failure was a string (assuming all shrunk values cause failures).