property-based testing
noun
- Testing by stating rules that must hold for all inputs and letting a tool generate many random inputs to try to break them. A property-based test asserting that
decode(encode(x))equalsxfound a Unicode bug in minutes.
In plain words
- test with lots of random inputs
- I can't think of every test case
- generate test cases automatically
- find the input that breaks it