Preferences

You can totally combine coverage based fuzzing with property based tests. When I was at Google, I really enjoyed their internal tooling for combining both. You simply write a property based test as usual, but when it comes to execution, the testing framework compiles your test in a special way to get coverage and then adjust the random input to hit increased coverage. Of course they run the test across a cluster of machines completely automatically.

Traditional property based testing is implemented simply as a library, so they don't necessarily have coverage information to guide their random input generation.


This item has no comments currently.