~/talk

The Most Important C++ Design Guideline is Testability

Talkat CppCon 2024 · on Monday, 2024-09-16· at 15:15· Adams A, 6700 North Gaylord Rockies Boulevard· [testing]
links:none on file
slides:none on file

Argues testability is the top design goal, not just unit tests, and backs it with tactics and failures: a standard-compliant expose private members via template trick for hard-to-test hidden state, using libclang + property-based tests and fuzzing to generate CI checks, and preferring end-to-end system tests over isolated units. Cites a production outage that sends roughly 4 million executions in 45 minutes from 212 retail orders and a botched 7-of-8 deployment, shows rollbacks can make things worse, and insists on automated deployments and monitored event logs.

AI-written summary · about

  1. 0:00Introduction
  2. 3:54Testability over unit tests
  3. 12:38Hidden state and testing
  4. 17:36Knuth on testing
  5. 22:50Strong types for testability
  6. 25:43Most important C++ slide
  7. 27:11Knight Capital incident
  8. 46:56Knight Capital failure analysis
  9. 52:37Automating design tests
  10. 57:16Testability takeaways
~/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.