A presentation comparing traditional unit testing with mocking versus software tracing for event-driven embedded systems. Using an LED bar gizmo example, it demonstrates how mock objects work with the Unity framework and CMock, then introduces software tracing as a simpler alternative to mocking. The talk covers QP/Spy, a binary-format software tracing system for embedded C, showing how it replaces printf-based debugging with efficient binary trace records that can run on both host machines and embedded targets like STM32 Nucleo boards. Part 1 sets up the foundation for an automated testing system based on software tracing (QTest) to be shown in Part 2.
•20m watch time
3 Impressions