This skill equips Claude with a comprehensive framework for managing the full lifecycle of C++ testing, from initial TDD loops to CI integration. It provides expert guidance on writing GoogleTest fixtures, implementing GoogleMock for dependency isolation, and configuring CMake/CTest for automated discovery. Beyond basic unit testing, it includes specialized procedures for memory sanitizers (ASan/UBSan), thread safety analysis, and code coverage reporting, ensuring high-reliability software development in C++17 and C++20 environments.
主要功能
01TDD workflow integration (Red-Green-Refactor) for C++ components
02112,917 GitHub stars
03Comprehensive code coverage analysis using gcov and llvm-cov
04Automated GoogleTest and GoogleMock implementation patterns
05Modern CMake and CTest configuration for automated test discovery
06Memory and Thread Sanitizer setup (ASan, TSan, UBSan)
使用场景
01Diagnosing and fixing flaky tests or memory leaks using diagnostic sanitizers
02Configuring CI/CD test gating with CTest and automated coverage reporting
03Generating unit and integration tests for new or legacy C++ components