~/talk

Chance Makes Good Tests

TalkinFrenchat DevFest Toulouse 2025 · on Thursday, 2025-11-13· [testing]
slides:none on file

A bug-hunting workflow for Java unit tests using a randomized-testing framework that injects and logs the exact random seed so failures can be reproduced. The framework randomizes nodes, shards, replicas, index names, locales (including rare ones like Azerbaijan), time zones and test order, detects stray threads, and lets you annotate or force values; implementation details cover seed injection, a property to pick or randomize locale, and the limitation that it works with JUnit4 only.

AI-written summary · about

  1. 0:00Randomized testing importance
  2. 1:52Randomized testing framework
  3. 3:55Java framework setup
  4. 6:25Bug replication with seed
  5. 8:12Locales and random resources
  6. 10:21Resource leak detection
  7. 11:23Locale bug fix case
  8. 12:50Framework limits and conclusion
~/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.