Agile testing for microcontroller projects - What are realistic objectives?
summary
Argues that start-of-project goals should be pragmatic: use off-target unit tests compiled for x86 to catch logic bugs fast, run a smaller suite on-target MCU runs to cover toolchain, timing and cache differences, test hardware drivers with pin-level open-loop integration (UART/SPI toggles, Raspberry Pi or USB I/O probes, split tests because flash is limited), emulate peripherals at MCU pins for pin-emulated system tests to start system checks early, and accept that final HIL/EMC and certification still require real hardware and maintenance of test rigs.
AI-written summary · about
chapters (16)
- 0:00Introduction to agile testing
- 1:14Embedded systems challenges in agile
- 3:21Test pyramid for microcontroller projects
- 6:10Unit testing hardware-software components
- 10:28Off-target vs on-target unit testing
- 14:02Strategies for unit testing in projects
- 16:09Integration testing approaches
- 22:56Hardware abstraction layer testing
- 25:02System testing without full hardware
- 28:15Hardware-in-the-loop for system tests
- 31:30Collaboration between developers and testers
- 34:05Finding the right testing balance
- 35:09Agile testing vs certification needs
- 36:17Testing systems with multiple dependencies
- 39:03Balancing virtual and real testing
- 40:48Q&A session
