~/talk

How we implemented TDD in Embedded C/C++

Talkat Agile on the Beach 2016 · 2016-07-06..07-07· [embedded-and-hardware, testing]
links:none on file
slides:none on file

Company has run TDD on embedded C/C++ since 2009 across ~30 projects and documents concrete practices: they run tests on the dev PC with sanitizers (AddressSanitizer) for fast feedback, then dual-targeting with 15-minute target deploys to catch compiler/ABI issues, use Google Mock and C++ interfaces for mocks plus link-time mock substitution (swap object files to avoid virtual calls), run integration tests on build servers that deploy to limited target hardware, and replace hardware with a fake BSP to shrink long system tests from days to minutes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:37The TDD cycle and criteria
  3. 4:04Testing on target hardware
  4. 6:33Testing on development PC
  5. 8:22Dual targeting strategy
  6. 11:13Using sanitizers
  7. 12:26Layered architecture
  8. 14:04Test doubles
  9. 16:03Classical vs mockist TDD
  10. 18:05State vs behavior verification
  11. 21:22Choosing a TDD style
  12. 23:14Inserting test doubles
  13. 24:22C++ interfaces for mocks
  14. 27:56Link-time substitution
  15. 29:07C link-time techniques
  16. 32:25Continuous integration
  17. 33:16Integration testing
  18. 34:11Speeding up system tests
  19. 35:58Conclusion
~/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.