~/talk

Tests That Help you Find Defects Faster

Talkat TestJS Summit 2021 · 2021-11-18..11-19· [testing]
links:none on file
slides:none on file

Calls out four concrete fixes: split tests that use "and" into separate cases and add a small connection test for DB access when both read and write fail, prefer Jest and Testing Library assertions like toHaveProperty and expect(fn).toThrow(message) so failures show the differing values, extract repeated setup into named helpers to keep tests small and avoid copy‑paste, and refuse DRY that creates shared mutable state so tests stay isolated dont over‑DRY tests.

AI-written summary · about

  1. 0:00Intro
  2. 1:35Topics
  3. 4:55Test Structure
  4. 7:00Assertions
  5. 12:35Test Code
~/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.