Skip to content
START WITH THE BIG PICTUREPut firmware and hardware-in-the-loop results in the same quality record.

For firmware and device qa engineers

STEP 01

Connect the repository; Lupin proposes the test command from its build files.

What should I remember?

A firmware failure is read the same way as any other, with the board it ran on beside it.

New to the terminology? See the words explained

Embedded and firmware QA ​

Lupin reads firmware and device test results the same way it reads a web app's: one run, its failures grouped by cause, a gate, a trend and a copilot that explains it. What differs is only how the tests are run and where.

What Lupin recognises ​

When you connect a repository, Lupin reads its root build files and proposes a test command. It never flashes a board or runs anything itself; it reads the files and suggests.

Your repository hasLupin proposes
platformio.inipio test --junit-output-path pio-junit.xml
project.ymlceedling test:all (Ceedling, with Unity and CMock)
west.ymlwest twister -T tests --platform native_sim (Zephyr)
CMakeLists.txtctest --test-dir build --output-junit ctest-junit.xml

It also names the frameworks it finds (GoogleTest, Unity, Catch2, CppUTest, Zephyr's ztest) and recommends GoogleTest to a CMake project that has no tests yet. A CMakeLists.txt deeper in the tree, such as a vendored dependency in a web repository, does not make the project embedded.

Send the results ​

Every command above writes JUnit XML, which Lupin already reads. Run it through the CLI and the report is uploaded when the command ends, whether it passed or failed:

bash
lupin test --format junit --report ctest-junit.xml -- \
  ctest --test-dir build --output-junit ctest-junit.xml

See Send results from any CI for the token and the environment it reads.

Say which board it ran on ​

A run's required capabilities and labels are shown on its page as Target, for example hil · board:esp32-s3 · nightly. Give a hardware-in-the-loop job the capabilities of the rig it needs, and only a runner that has that rig claims it. The run then says where it ran, so a failure on one board is never read as a failure everywhere.

Who owns a failure ​

If the repository has a CODEOWNERS file, the copilot names the owners of each failure cause from the failing tests' files, the same for firmware as for anything else.