~/talk

99% is not enough - full test coverage and why it's awesome

Talkat Assert(js) 2019 · on Thursday, 2019-09-12· [testing]
slides:none on file

Argues for aiming for true 100% line, branch, statement and function coverage and shows how that changes design, not just test quantity. Mentions concrete tools and options like --100 flag (node-tap), nyc and Istanbul hooks, and a coverage map to keep base classes honestly tested. Gives surprising emotional data points — slipping from 100% to 99.5% feels awful — and practical hacks like the mutate FS module and istanbul ignore to handle genuinely untestable edges.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35The Purpose of Testing
  3. 2:12Understanding Coverage
  4. 3:24Strategic Advantages
  5. 4:29Achieving Full Coverage
  6. 5:44Addressing Objections
  7. 7:06Writing Better Tests
  8. 8:32Advanced Coverage Techniques
~/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.