~/talk

Property Testing: Write Fewer Tests, Find More Bugs

TalkinFrenchat DevFest Lille 2019 · on Friday, 2019-06-14· [testing, developer-experience]
slides:none on file

Presentation explains using property-based testing in Java (QuickCheck-style libraries and junit-quickcheck) to write fewer tests and find more bugs. It describes creating custom generators to match business rules, running hundreds to tens of thousands of examples with shrinking and deterministic seeds to reproduce counterexamples, and reports practical results: two bugs found quickly, test code reduced by over 2×, and increased confidence in critical modules (e.g., reversible VAT pricing revealed rounding errors).

AI-written summary · about

  1. 0:00Start
  2. 0:12Property testing intro
  3. 3:50Why write property tests
  4. 8:17Types of properties
  5. 14:27Invariance properties
  6. 22:11Invariance migration
  7. 25:02Analogy refactoring
  8. 30:37Inversion data loss
  9. 39:42Shrinking counterexamples
  10. 42:52One year experience
  11. 47:27Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.