~/talk

Introduction to stateful property based testing

Talkat ElixirConf EU 2019 · 2019-04-08..04-09· [testing]
speakerdeck:tomekowal
slides:none on file

Company uses PropEr style stateful property tests to model a key value patient DB and reproduces a PESEL bug that only appears for post‑2000 months, proving the model finds domain edge cases. Examples include AUTOSAR and LevelDB where a failing scenario shrinks to 16 operations and Dropbox ordering checks. Tests implement five callbacks, use guided generators, and rely on shrinking to produce minimal counterexamples. Upfront modeling cost is high but execution is fast unless shrinking repeats extensively.

AI-written summary · about

  1. 0:00Intro
  2. 2:18Common examples
  3. 4:26Volvo Autostar
  4. 6:37LevelDB
  5. 7:39Dropbox
  6. 9:15Agenda
  7. 9:58List Reversal
  8. 11:12Oracle Properties
  9. 12:25Generators
  10. 14:36Managing state
  11. 15:52Stateful property based testing
  12. 17:48Example system
  13. 18:03Creating a model
  14. 18:45Implementing callbacks
  15. 19:39Handling searching
  16. 20:08Precondition postcondition answers
  17. 20:49Execution
  18. 23:04Guided execution
  19. 25:22Recap
  20. 26:26Conclusion
  21. 27:03Recommended book
  22. 27:37Questions
~/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.