Get the latest tech news

Why Property Testing Finds Bugs Unit Testing Does Not (2021)


I intended this newsletter to be my thoughts without editing, and I have a new thought, so here goes. I want to respond to this discussion: But Kids These...

The value PBT has over manual unit testing is in the combinatorial explosion of boundary conditions and edge cases in even a moderately-complex problem. The strategy APIs vary between PBT libraries, meaning we can't write about the skills in a more general way. The kinds of problems where you can think you've studied the spec and written good unit tests but still miss an edge case.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of property testing

property testing

Photo of bugs unit testing

bugs unit testing