Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Embedded & IoT QAMiddleSpecialistTest design

How should QA cover compile-time options and cross-compiled firmware configurations?

Answer

Treat build options, target architecture, linker layout and feature flags as product inputs. Validate supported combinations, reject invalid ones early, archive the exact toolchain and configuration, and run smoke tests on each released binary. Use pairwise or risk-based selection when the full configuration space is too large, with dedicated coverage for safety and security options.

Strong answer includes

  • treats the binary and toolchain as traceable artifacts
  • covers invalid as well as supported combinations
  • uses a justified combinatorial strategy

Practical example

A firmware image built with a debug-logging flag accidentally enabled ships to production because the release pipeline never ran a smoke test on the exact binary that got signed and flashed — only on a nightly build with different flags. The debug UART output later floods a safety-relevant timing loop and causes missed deadlines in the field.

#embedded#cross-compilation#configuration

Sources

Testing — Zephyr Project DocumentationZephyr Project · Embedded unit, integration, simulation and hardware test frameworks and executionFDA recognition of IEC 62304US FDA · Medical-device software lifecycle processes, safety classification and maintenance