~/talk

Test as if you're in someone else's shoes

Talkat EmberFest 2022 · 2022-09-22..09-23· [testing, developer-experience]
links:none on file
slides:none on file

Shows concrete refactors inside Intercom’s Ember codebase: replace brittle asserts on internal state and CSS classes with test visible text and avoid CSS classes, move internal checks into fast unit test session service specs, convert component checks to Ember rendering/integration/rendering tests that simulate clicks and navigation, and reserve Selenium/Cypress end-to-end runs for cross-service flows like deleting an article. Includes numbers of failing patterns (many duplicated tests, unnecessary runLoop/lifecycle hooks) and before/after code sketches showing tests that actually mimic user interactions.

AI-written summary · about

  1. 0:00Intro
  2. 0:34Story Time
  3. 2:37Moral of the Story
  4. 3:19Testing
  5. 3:36Common tests
  6. 5:45How to write a good test
  7. 7:38Test sites
~/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.