What makes an embedded-software test strategy different from a web or desktop strategy?
Answer
Embedded quality depends on firmware, electronics, timing, memory, power, physical inputs and often unreliable connectivity. Use fast host-level tests for logic, simulation or emulation for repeatable integration, and representative hardware for electrical, timing and environmental evidence. Trace coverage across board revisions, build options and bootloader, firmware and backend versions.
Strong answer includes
- covers software and hardware boundaries
- uses several execution layers rather than only device end-to-end tests
- includes configuration and board-revision risk
Practical example
A team validates a firmware update purely with end-to-end tests on one dev board and ships it. In the field, a slightly different board revision has a different flash-write timing, and the update bricks a batch of devices. A layered strategy — unit tests for the update logic on the host, an emulator run for the write sequence, and a hardware-in-the-loop pass across the actual board revisions in the fleet — would have caught the timing gap before release.