~/talk

How code coverage can be used and abused to guide testing.

Talkat It Will Never Work in Theory (Online, April 2022) · on Wednesday, 2022-04-27· [testing]
slides:none on file

Argues that code coverage is useful when it augments test suites rather than serving as a hard target, and that running a code coverage tool to find uncovered lines leads to writing tests that actually find faults. Cites evidence that suites with 90%+ coverage catch more bugs but that 100% coverage is not proof of quality. Recommends focusing on uncovered code, preferring simple statement coverage, and avoiding tests written solely to boost a metric.

AI-written summary · about

  1. 0:00Intro
  2. 0:13Why is code coverage useless
  3. 0:36How to use code coverage
  4. 1:51How we know we are done
  5. 2:48Why you should not use code coverage
  6. 3:06Does higher coverage lead to better software
  7. 6:13High coverage may not mean much
  8. 6:39Summary
~/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.