What problem does it solve?
This Skill helps teams create, review, and debug deterministic C++ unit tests for embedded automotive software, especially when production code depends on hardware, operating system services, or other hard-to-isolate interfaces.
Core Features & Use Cases
- Test structure: Uses Arrange-Act-Assert, fixture setup, and clear naming to keep tests readable and maintainable.
- Mocking and isolation: Builds gmock-based test doubles for HAL and OS dependencies with StrictMock, NiceMock, and expectation-driven verification.
- Coverage and CI readiness: Guides CMake integration, test discovery, parameterized tests, death tests, and coverage workflows for gtest-based projects.
- Typical use cases: Writing new tests for a module, reviewing brittle tests, characterizing legacy behavior before refactoring, and validating coverage targets.
Quick Start
Ask for a unit test plan or implementation for a specific C++ class or module, and have it follow AAA structure, gtest/gmock conventions, and embedded CMake integration.