What problem does it solve?
It helps you write, fix, and harden C++ tests so failures are trustworthy, regressions are caught early, and CI runs stay fast and reliable.
Core Features & Use Cases
- GoogleTest/GoogleMock workflows: create unit and integration tests, using fixtures plus mocks where interactions must be verified.
- CMake/CTest execution and discovery: configure consistent builds and use gtest discovery for stable test registration.
- Debugging, coverage, and sanitizers: diagnose failing or flaky tests, then add coverage signals and ASan/UBSan/TSan builds to catch hidden issues.
- Use Case: when a change causes intermittent CI failures, use this workflow to reproduce the failing test with filters, enable sanitizers, and rework synchronization to eliminate nondeterminism.
Quick Start
Use the cpp-testing skill to fix failing or flaky C++ tests in your project by running the single failing test with a gtest filter, then iterating until the full CTest suite passes.