What problem does it solve?
This Skill automates the creation, updating, and debugging of C++ tests, ensuring robust software quality and efficient development cycles.
Core Features & Use Cases
- Test Generation & Modification: Write new C++ unit and integration tests or refactor existing ones.
- Framework Integration: Configure GoogleTest/GoogleMock and CMake/CTest for seamless testing.
- Debugging & Diagnostics: Identify and fix failing or flaky tests, and enable sanitizers for deeper issue detection.
- Code Coverage: Implement and analyze test coverage reports.
- Use Case: When developing a new C++ feature, use this Skill to write comprehensive unit tests, configure them in CMake, and ensure they pass before merging.
Quick Start
Use the cpp-testing skill to create a new unit test for the calculate_sum function in src/math.cpp.