qa-embedded

Embedded C/C++ testing: GoogleTest on ARM, Unity and Ceedling with CMock mocks, QEMU system emulation, gcov coverage, and hardware-in-the-loop. An authoring agent (embedded-test-author) detects the framework and execution path, scaffolds the harness when none exists, and writes one unit test per spec.

Install this plugin
/plugin install qa-embedded@testland-qa

First time? Add the marketplace with /plugin marketplace add testland/qa

View source (opens in a new tab)
Plugin
Version
v1.4.3
Contents
6 skills · 1 agent

Skills6

Agents1

About qa-embedded

Embedded C/C++ testing: GoogleTest on ARM, ThrowTheSwitch Unity-C and Ceedling with CMock mocks, gcov coverage, QEMU system emulation

Choosing a framework

Read down the "Signal" column and stop at the first row that matches your project - never infer from a README or folder name alone:

Signal in project rootFrameworkExecution pathStart with
Top-level Ceedling project.ymlUnity + Ceedling (existing stack)host build; add QEMU if the build cross-compilesceedling-build-runner
CMakeLists.txt with find_package(GTest) or a gtest_main link targetGoogleTesthost build + QEMU cross-compile under arm-none-eabi-g++googletest-embedded-arm
Only *.c / *.h files, no harness yetUnity + Ceedling (canonical ThrowTheSwitch setup; Ceedling documents no C++ support)host build (fast loop) + QEMU for arch sanityceedling-build-runner
Any *.cpp / *.cc / *.cxx (incl. mixed C/C++ - a C++ toolchain compiles both)GoogleTesthost build + QEMU when cross-compilinggoogletest-embedded-arm
Ultra-low-RAM target confirmed by -mcpu=cortex-m0 / cortex-m0plus (8-16 KB)Unity standalone (no Ceedling; GoogleTest's heap requirement precludes it)host build + optional QEMUunity-test-framework-c

Execution-path tie-breakers: no cross-compile toolchain in the build file → host build only; arm-none-eabi-* detected with no physical board → host + QEMU (endianness / alignment / interrupt-vector sanity per qemu-system-test-runner); physical board access confirmed → host + QEMU + on-target, with the coverage artefact from the on-target build per embedded-coverage-strategy-reference. A safety standard (DO-178C, ISO 26262, IEC 62304, MISRA-C) sets the minimum structural-coverage level - see the same coverage skill.