Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
boxed
· 4y ago · 0 comments
Property Based Testing and Mutation Testing is much better than trying to come up with examples by thinking hard.
Comments
[–]
qcoh
4y ago
PBT 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
OP
4y ago
Mutation testing is for finding holes in the tests. PBT is for finding holes in your code.
[–]
danuker
4y ago
I stand corrected. These methods are indeed even better when you can't think of more examples.