~/talk

Stop the Retries in Tests & Reruns of Failing Tests

Talkat Selenium Conf 2022 · 2022-07-29..07-30· [testing]
slides:none on file

Argues against automatic reruns and in-test retries as anti-patterns, showing that they hide root causes like network, timing, data, or environment issues and recommends instrumenting failures and doing proper root-cause analysis instead. Advises avoiding thread.sleep in favor of explicit waits, setting environment-specific SLAs (example: 3s production → ~7s test), reducing UI tests in favor of lower-layer checks, preferring explicit scenario tests over generic data providers, and adopting contract-driven testing with Specmatic and visual checks with Applitools rather than retry hacks.

AI-written summary · about

  1. 0:00Start
  2. 1:28Stop the Retries in Tests & Reruns of Failing Test
  3. 6:26Data dependencies
  4. 13:40Debug cause of failure
  5. 14:20Performance issue
  6. 22:00Code quality
  7. 22:26Quick feedback
  8. 23:33Proper Root Cause Analysis
  9. 24:50Remove external dependencies by using Intelligent Service Virtualisation! Contract
~/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.