This skill provides Claude with a comprehensive framework for writing, debugging, and optimizing tests in modern C++ environments (C++17/20). It implements a rigorous Test-Driven Development (TDD) workflow and offers standardized implementation patterns for unit testing, mocking, and integration testing. Beyond basic testing, the skill includes expert-level configurations for CMake/CTest integration, code coverage analysis using gcov/llvm-cov, and memory diagnostics through sanitizers, ensuring that C++ codebases remain high-quality, performant, and free of flaky behaviors.
主要功能
01Integrated code coverage reporting and sanitizer setup (ASan/UBSan/TSan)
02Automated CTest discovery and CMake build configuration
030 GitHub stars
04Advanced GoogleTest and GoogleMock implementation patterns
05Flaky test prevention strategies and deterministic testing guardrails
06Standardized TDD workflow (Red-Green-Refactor) for modern C++