sk Skill · affaan-m
cpp-testing
Use only when writing/updating/fixing C++ tests, configuring GoogleTest/CTest, diagnosing failing or flaky tests, or adding coverage/sanitizers.
Open on skills.sh ↗read 2026-09-17
- installs 8w
- 1,617
- 30-day movement
- starts with the next reading
- Related entries
- 6
- Connections
- 0
cppcmakebashJavaScript
An agent skill (SKILL.md) that guides AI coding agents through C++ testing workflows with GoogleTest/GoogleMock and CMake/CTest, targeting C++17/20. It covers a TDD loop, debugging failing or flaky tests, coverage, sanitizers, and pitfalls, with code examples for unit tests, fixtures, mocks, and CMake setup.
Reach for it when your agent is writing, fixing, or configuring C++ tests and needs a structured, opinionated workflow instead of ad-hoc edits.
Use it to
- Write or fix GoogleTest unit tests
- Configure CMake/CTest test targets
- Diagnose failing or flaky tests
- Add coverage or sanitizer builds
- Set up mocks with GoogleMock
For Developers and AI agents working on C++ test suites
- Host repository
- affaan-m/ECC
- Installs, lifetime
- 3,000
- Installs, 8 weeks
- 1,617
- Host stars
- 261k
- Host language
- JavaScript
topicscppgoogletestcmaketestingtddsanitizers