Talk Slides PDF (0.8MB)

Writing code well is hard enough; testing code well is much harder. We cherry-pick our test examples piecemeal, hoping to cover all the bases, and our apps still blow up.

A testing approach called Property-Based Testing lets you lean on the computer to help you write better, more thorough tests. What are property tests, what are they good for, and how do you write them? Come along and learn how to make the your tests really work for you.

This was a mishmash of last year’s “Property-Based Testing” talk at Railscamp and parts from a hopeful submission to this year’s CampJS, given at the Sydney Ruby-or-Rails Oceania meetup.

Credit for the breakdown of different “kinds” of properties goes to these blog posts / talks: