~/talk

Measure End to End Tests Coverage

Talkat GoWayFest 2.0 2018 · on Friday, 2018-09-28· [testing, developer-experience]
links:none on file
slides:none on file

Shows how to build an instrumented binary by compiling tests with go test -c and a custom TestMain to produce coverprofiles, then merge profiles and view reports with go tool cover. A running integration coverage binary records which code paths execute so staging or sampled production traffic reveals dead code; example numbers: unit-only 21%, merged coverage 92%, single integration run 83% then drops to 78% after a small optimization. Sets a practical 75% threshold and notes coverage is noisy but catches real bugs.

AI-written summary · about

  1. 0:00Introduction to E2E test coverage
  2. 2:25Demo of calculation API service
  3. 10:30Coverage drop after code change
  4. 13:33Summary and metrics approach
  5. 17:05Merging coverage reports
  6. 19:41Detecting dead code with coverage
  7. 23:30Validating test correctness
  8. 28:13Test pyramid and coverage rules
~/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.