~/talk

Test-Driven Development of C++ Embedded and System-Level Software

Talkat ACCU 2023 · 2023-04-19..04-22· [c-and-cpp, testing]
links:none on file
slides:none on file

Argues that TDD is practical for embedded C++ by showing concrete code, tests and tradeoffs: uses C++20 + GoogleTest/GoogleMock to drive a transport stack and message builder, verifies timestamp packing and buffer assembly with unit tests that reach full branch coverage, and runs most work on host to cut test time. Compares techniques—compile-time dependency injection, runtime polymorphism, function-pointer wiring and link-time substitution—and demos an MMIO bit abstraction for GPIO and interrupt-driven drivers; performance and CI implications are measured.

AI-written summary · about

  1. 0:00Test-driven development intro
  2. 12:04Host unit tests before target
  3. 24:46Message encoding with TDD
  4. 49:11Dependency injection for embedded
  5. 1:02:26Hardware tests with compile-time abstractions
  6. 1:14:25Q&A
~/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.