3 ms·
Interesting. The techniques are quite similar to what one can do with Hypothesis in Python ( https://hypothesis.readthedocs.io/en/latest/quickstart.html https:/
by imp0cat 2y ago
Interesting. The techniques are quite similar to what one can do with Hypothesis in Python ( https://hypothesis.readthedocs.io/en/latest/quickstart.html 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.
- spockz 2y agoThis is more generally called property based testing. My first encounters with it were quickcheck for erlang and Haskell. It has been around for ages.
- DRMacIver 2y agoThis isn't a coincidence. I wrote both.
- imp0cat 2y agoThank you! I have no experience with Shrinkray, but Hypothesis is great.