~/talk

Test coverage

Talkat CppCon 2018 · 2018-09-23..09-28· [testing]
links:none on file
slides:none on file

Argues that test coverage must be honest: count only the functions a test actually verifies and exclude test code, frameworks, helpers and mocks, otherwise the number is misleading. Demonstrates tooling and workflow—run tests, merge coverage, genhtml reports with lcov/genhtml, or gather coverage without instrumentation using kcov. Calls the untested executed code collateral coverage and recommends carving out only exercised functions or writing dedicated unit tests for bar and baz.

AI-written summary · about

  1. 0:00Intro
  2. 0:59Kcall
  3. 1:50Collateral coverage
  4. 2:31Summary
~/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.