cpp-testing - GoogleTest and CMake/CTest workflow for modern C++
Used for writing and repairing C++ tests, configuring GoogleTest and CTest, diagnosing failures, and adding code coverage or sanitizers.
Tags
Updated: 2026-09-21Capabilities
What this skill does
- Write and update C++ tests
- Configure GoogleTest and CTest workflows
- Diagnose test failures and flakiness
- Add code coverage configuration
- Enable memory and race sanitizers
Inputs
- C++ source files and test code
- CMake build configuration files
Outputs
- CTest test execution results
- Code coverage reports
- Sanitizer diagnostic reports
Requirements
- C++17 or C++20 compiler
- CMake 3.20 or higher
- GoogleTest framework
