jobjo / popper

Property-based testing at ease
ISC License
43 stars 1 forks source link

Custom shrinking strategy #2

Closed jobjo closed 3 years ago

jobjo commented 3 years ago

Currently all shrinking is using the same approach (halving the int32 numbers down to 0). Custom shrinking would consider the tags and shrink strings, bools etc differently.

Some inspiration here.

jobjo commented 3 years ago

Addressed.