~/talk

Domain Invariants & Property-Based Testing for the Masses

Talkat Scala.IO 2017 · 2017-11-02..11-03· [testing]
github:malk
slides:none on file

Argues that property‑based testing works on real messy code not just toy FP examples and shows concrete tools and patterns: ScalaCheck driving random inputs and shrinking to a minimal counterexample, applied against a Java 6 legacy bowling scorer and prescription validator. Claims it reduces test debt by replacing many brittle examples with a few properties, surfaces surprising counterexamples (found long after deploy), and recommends mixing PBTs with examples when full rules require solution knowledge.

AI-written summary · about

  1. 0:00Intro
  2. 4:00Bowling Score
  3. 10:40Simple Test
  4. 14:15Problems with Simple Tests
  5. 20:50Problems with Parameters Tests
  6. 23:40PropertyBased Testing
  7. 30:50Assumptions
  8. 36:50ProfitBased Tests
~/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.