Zephyr Application Development Using TDD: Getting Started
summary
Claims that TDD on Zephyr shortens time to market and finds bugs quickly, and demonstrates concrete tooling and techniques: Twister, Zephyr test framework, FFF mocking and link-time substitution for faking DT nodes and drivers. Shows a motion‑detection module (accelerometer + BLE), unit tests driving APIs, a test double for the sensor, Kconfig/device‑tree overlays, thresholds (2 m/s² for 1 s) and idle timeout (5 s with 5‑sample history), and a live BLE demo that works.
AI-written summary · about
chapters (7)
- 0:00Introduction and agenda
- 1:56Speaker background and context
- 3:46Company and services overview
- 5:04TDD principles and cycles
- 20:06Applying TDD in Zephyr
- 22:13Faking dependencies
- 25:58Live demo and Q&A
related talks
46mZephyr Application Development Using TDD: Getting Started
13mZephyr Unit Tests and Emulators at Google
49mHarnessing the Twister: Zephyr Data-Driven Testing and Insights
44mTest Strategy for Zephyr
44mTest Strategy for Zephyr
57mZephyr RTOS Debugging and Performance Analysis
49mHarnessing the Twister: Zephyr Data-Driven Testing and Insights
40mZephyr Off-Chip Peripheral Emulation
