~/talk

Hardening Applications with Property Tests

Talkat ElixirConf EU Virtual 2020 (June) · 2020-06-18..06-19· [testing]
speakerdeck:sorentwo
slides:none on file

Property tests use Stream Data generators to validate Oban behaviors against Postgres under real concurrency, proving things like a CRON parser, unique jobs never duplicate under 2–5 concurrent inserters, and migration up/down correctness across 120 permutations. A single semi‑stateful property plus randomized actions runs ~100 variants and exposed failures that were fixed with advisory locks and transactional controls, leaving zero reported bugs aside from one namespacing issue and demonstrating one property test can replace brittle examples.

AI-written summary · about

  1. 0:00Intro
  2. 2:00Streams
  3. 3:56What is Property Testing
  4. 4:58Property Test
  5. 7:40Handling Failures
  6. 9:34One Generator
  7. 10:16Unique Jobs
  8. 14:16Migrations
  9. 17:29Periodic Jobs
  10. 24:06QA Session
~/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.