~/talk

“Ensuring Exception Safety Through Testing"

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

Describes a concrete testing system that uses a global counter to deterministically throw the nth exception, an error-tracker to catch internally handled throws, and configurable fakes like the maybe_throw macro and throwing value fake; tests run each injected failure against per-operation contracts, use factories to support move-only types, and run under ASan/LSan to catch UB and leaks. The tooling finds real bugs in Abseil and in standard-library implementations, and the implementation lives in Abseil internals with a planned merge into Googletest.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 7:48Exception safety fundamentals
  3. 16:02Testing exception safety basics
  4. 29:11Algorithm deep dive
  5. 38:19Writing exception safety tests
  6. 45:07Googletest integration
  7. 54:42Future directions and conclusion
~/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.