~/talk

TRIM Your Automated Tests

Talkat Øredev 2024 · 2024-11-06..11-08· [testing]
links:none on file
slides:none on file

Introduces a concrete TRIM checklist with code examples and a modeling technique that maps actors to system layers so tests target the lowest risk layer possible, shows how to mock APIs to shrink UI tests, and demonstrates the data builder pattern for fast, reliable setup. Recommends running tests multiple times to detect flakiness, collecting videos logs and headers on failure, pruning legacy tests rather than hoarding them, and optimizing pipelines (examples include 7‑hour runs vs 12‑minute runs) to improve mean time to feedback.

AI-written summary · about

  1. 0:00Introduction
  2. 2:53Problems with automated testing
  3. 8:26Introducing TRIMS model
  4. 10:12Test automation triangle myth
  5. 13:04Targeted testing via system modeling
  6. 17:38Reliable and deterministic tests
  7. 21:55Readable test names
  8. 25:45Debugging failing tests
  9. 28:11Clean code for test suites
  10. 30:57Speed in tests
  11. 33:23Applying TRIMS to suites
  12. 34:47Q&A
~/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.