iot-embedded-testing
Installation
SKILL.md
IoT & Embedded Systems Testing
Constraints (memory, power, connectivity, real-time deadlines) and the physical world make failure modes different — and recall costly. Test on host → emulator → hardware-in-the-loop → field.
Test levels
| Level | What | Tools |
|---|---|---|
| Host unit (x86) | Business logic compiled natively, HAL mocked | Unity/CMock, Ceedling, GoogleTest, CppUTest, Rust #[test] |
| Simulation/emulation | Firmware on virtual MCU/board | QEMU, Renode, Wokwi, Zephyr native_sim, Arm FVP |
| HIL | Real board + rigs (relays, signal generators, sensors) | pytest + pyserial/pyocd, Robot Framework, Labgrid, OpenOCD/JTAG, Saleae logic analyzer |
| Integration | Device ↔ gateway ↔ cloud | MQTT broker (Mosquitto), device shadow/twin tests, LocalStack IoT |
| System/field | Real environment, fleet pilots | Staged OTA rings, telemetry dashboards |