~/talk

Wait, before you write your next test...

Talkat revo.js 2019 · 2019-10-03..10-04· [testing, developer-experience]
slides:none on file

Advocates adding linters first: Prettier, ESLint and @ts-check with JSDoc to get IntelliSense and catch obvious bugs before tests. Use the Cypress code coverage plugin to instrument app code, where a single end-to-end run hits about 72% of lines and combining unit tests fills the rest to ~100%. Split long end-to-end flows into checkpoints by snapshotting the app state on window to resume later, limit individual tests to short runtimes and treat coverage as a guide not a pass/fail goal.

AI-written summary · about

  1. 0:00Introduction and climate pledge
  2. 3:21Why testing feels like a drag
  3. 7:31Documenting code with types
  4. 12:27What should I test
  5. 16:13Code coverage as a guide
  6. 21:45How long should tests be
  7. 25:41Splitting long tests
  8. 29:00Final advice and thanks
~/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.