Re:Automated Test-Case Reduction
by imp0cat on Tuesday July 16, 2024 @03:01PM
(#40979267)
Interesting. The techniques are quite similar to what one can do with Hypothesis in Python ( https://hypothesis.readthedocs.io/en/latest/quickstart.html ). Basically, it generates a bunch of test data and then tries to shrink it to the smallest example that fails the test automatically.
[ Parent
| on HN ]
This is more generally called property based testing. My first encounters with it were quickcheck for erlang and Haskell. It has been around for ages.
This isn't a coincidence. I wrote both.