~/talk

Testing, Preconditions, Coverage and Templates in Safety-Critical C++ Code

Talkat ACCU 2025 · 2025-04-01..04-04· [testing]
slides:none on file

Safety‑critical C++ code requires 100% coverage with CI across many compilers, explicit preconditions that often precondition macro terminates the process and triggers a watchdog reset, and measurable performance checks (Google Benchmark plus on‑chip timing). Coverage tools (modern Clang/GCC) report line/branch and MCDC; death tests (GoogleTest assertDeath or build‑wrapper) verify termination. Template code uses equivalence classes and parameterized type tests with helpers to construct representative values, conditional instantiation and fuzzing to keep testing tractable.

AI-written summary · about

  1. 0:00Safety-critical C++ testing intro
  2. 1:09What makes software safety-critical
  3. 2:34API specs and preconditions
  4. 10:27Testing preconditions
  5. 15:07Watchdogs in safety systems
  6. 20:32Automated testing importance
  7. 23:22100% test coverage needs
  8. 30:45Branch coverage and MCDC
  9. 39:26Equivalence classes testing
  10. 45:09Preconditions and death tests
  11. 58:20Template code testing
  12. 1:08:20Parameterized tests for templates
  13. 1:16:29Testing strategies summary
~/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.