cpp-testing - C++ Testing with GoogleTest
C++ testing workflow using GoogleTest/GoogleMock with CMake/CTest for modern C++ projects
Tags
Updated: 2026-05-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- write tests
- configure CMake/CTest
- run tests
- debug test failures
- enable sanitizers
- measure test coverage
- create test fixtures
- mock dependencies
- implement TDD workflow
- design test coverage
Inputs
- C++ source code
- test dependencies
- CMake configuration
- build directory
- test data files
Outputs
- test execution reports
- test binaries
- coverage reports
- diagnostic logs
- test results
Requirements
- C++17/20 compiler
- CMake 3.20+
- GoogleTest/GoogleMock
- ctest executable
- build system
