Slide 21
Slide 21 text
Integrate shrinking with generation!
• Start with an arbitrary bytestream
• Interpret as value according to strategy
• Shrink bytestream, not value
21
Secrets of Shrinking
Escape from automanual testing with Hypothesis!
lists(booleans(), min_size=3)
stream = [0, 1, 0, 1, 1, 0, ...
out = [False, True, False, True]