4 ms·
Property Based Testing and Mutation Testing is much better than trying to come up with examples by thinking hard.
by boxed 5y ago
Property Based Testing and Mutation Testing is much better than trying to come up with examples by thinking hard.
- danuker 5y agoI stand corrected. These methods are indeed even better when you can't think of more examples.
- qcoh 5y agoPBT is awesome but I would still like to have tests I can easily reason about when implementing a tricky algorithm. The way I see it, TDD is the specification, PBT is for finding gaps in my specification.
- boxed 5y agoMutation testing is for finding holes in the tests. PBT is for finding holes in your code.