~/talk

Eliminating Inconsistent Test Failures

Talkat RailsConf 2014 · 2014-04-22..04-25· [testing, developer-experience]
slides:none on file

Session lists concrete fixes: diagnose Capybara and Cucumber flakiness by reproducing CI state, capture DB with fixture_builder, stub third‑party calls with VCR/webmock, and run a tiered build that falls back to sequential tests; parallel_test plus cucumber‑rerun increases failures. A Mutex for request handling and a tiny prototype gem rspec_manual_order are built to binary‑search test pollution. A pair spends three months; random failures drop to under five percent and the tiered approach works.

AI-written summary · about

  1. 0:00Start
  2. 3:25Continuous Integration
  3. 3:43The usual suspects
  4. 4:53Speed daemons
  5. 5:52Mysterious benefactor
  6. 7:22Reduced trust
  7. 7:38Run it again
  8. 10:01What Goes Wrong?
  9. 10:39Cucumber Capybara
  10. 11:03Browser
  11. 13:07Race conditions
  12. 15:07Threads & Database connections
  13. 15:57DB-backed object solutions
  14. 16:09Immutable database
  15. 20:38Policy failure
  16. 22:10The Data
  17. 22:42The Network
  18. 23:22The "external" build
  19. 24:13Test Pollution
  20. 24:29And the problem is...?
  21. 26:21Re-use your data
  22. 27:45Tighten feedback loops
  23. 28:25Binary Search
  24. 29:11Step
  25. 31:43Eliminating Random Test Failures
  26. 32:14F*cking Snowflakes
  27. 32:30Don't Give Up
~/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.