cpp-testing - C++ testing workflow using GoogleTest and CMake/CTest
Workflow for writing and updating C++ tests, configuring GoogleTest and CTest, diagnosing failures, and enabling coverage or sanitizers.
Tags
Updated: 2026-09-21Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write C++ tests
- Fix existing tests
- Configure GoogleTest and CTest
- Diagnose test failures
- Configure code coverage
- Enable sanitizers
Inputs
- C++ source and test files
- CMake build configurations
- Test failure logs
Outputs
- Test execution logs
- Code coverage reports
- Sanitizer diagnostic reports
- Updated test and configuration files
Requirements
- C++17 or C++20 compiler
- CMake 3.20 or higher
- GoogleTest / GoogleMock framework
- CTest test runner
