Skip to main content
Manusで任意のスキルを実行
ワンクリックで

cpp-testing

スター2
フォーク0
更新日2026年7月9日 00:38

Testing workflow for modern C++ (C++17/20) with GoogleTest / GoogleMock driven through CMake and CTest. Covers the red-green-refactor loop, unit and integration test layout, fixtures, mocks vs fakes, dependency injection for isolation, stable test discovery with gtest_discover_tests, coverage collection (gcov/lcov and llvm-cov), the AddressSanitizer / UBSan / ThreadSanitizer builds, and guardrails that keep tests deterministic and non-flaky. Use when writing or fixing C++ tests, wiring a CMake/CTest test target, diagnosing a failing or flaky test, or adding coverage or sanitizer gates. Not for feature work with no test change, large refactors unrelated to tests, or non-C++ projects.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly