~/talk

Randomized testing: Gotta Catch ‘Em All

Talkat TestMu Conference 2025 · 2025-08-19..08-21· [testing]
slides:none on file

Shows that adding randomness finds bugs missed by hand: uses the Carrot Search randomized runner (Carrot Search) with JUnit4 to vary locales, time zones, cluster size (1–20 nodes), shards 1–30, replicas up to nodes−1, bulk sizes (500–1000) and execution order; seed values make failures reproducible and tests can be repeated (10 iterations example). Finds real bugs — an AZ locale null-pointer in FSColor, leaked threads, and flaky ordering issues — and warns JUnit5 lacks built-in support.

AI-written summary · about

  1. 0:00Welcome
  2. 4:40Ariane 5 failure lesson
  3. 7:13Speaker and project
  4. 11:08Randomized testing framework
  5. 18:16Randomness with seeds
  6. 21:45Locales and time zones
  7. 23:55Bulk operations testing
  8. 25:22Ignoring tests
  9. 27:08Skipping long tests
  10. 28:33Thread leaks detection
  11. 30:24Test execution order
  12. 31:48AZ locale bug in Elasticsearch
  13. 35:42Upgrading libraries
  14. 36:24Framework limitations
  15. 37:27Failing tests benefits
  16. 38:10Q&A: Convincing teams
  17. 40:40Q&A: Random vs deterministic
  18. 41:43Q&A: Measuring impact
~/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.