Shrinking

Back to Property-Based Testing

When a property-based test finds a failing input, the framework automatically simplifies it to the smallest input that still causes the failure. This makes debugging much easier — instead of a complex random input, you get a minimal reproducing case.

property testing shrinking