~/talk

Keeping Your Tests Lean

Talkat SeleniumConf Berlin 2017 · 2017-10-09..10-10· [testing]
links:none on file
slides:none on file

An old UI suite of 1,000+ tests becomes manageable by deleting redundant cases, splitting tests into feature sub-suites, and running classes in parallel so runtime is reduced from 12h to 1h. Flakiness is tracked in a Google Sheet, flaky tests are quarantine[d] or auto-rerun until fixed, and tests use dedicated environments and data-qa selectors to avoid CSS brittleness. Preference for lower-level integration tests and headless browsers keeps the suite fast and reliable.

AI-written summary · about

  1. 0:00Intro
  2. 1:54Fast Test
  3. 3:06Legacy Tests
  4. 3:55The Challenge
  5. 4:50Build Monitors
  6. 5:49Why a Lean Test Suite
  7. 6:43How to Maintain Valuable Tests
  8. 8:25Evaluate Existing Tests
  9. 10:20Collaborate
  10. 11:35Test Code
  11. 12:13Reliable Test
  12. 13:43Monitoring Flakiness
  13. 14:30Separating Tests
  14. 16:14Test Selectors
  15. 16:54Independent Tests
  16. 17:48Fast Tests
  17. 18:43Deployment Pipeline
  18. 19:34Paralyse Test
  19. 20:27Avoid UI Tests
  20. 21:50Headless Tests
  21. 22:39Summary
  22. 23:23Tradeoffs
  23. 23:59Start Over
~/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.