Install any skill in seconds. Free to start, no credit card required.
Get Started Free →affaan-m/cpp-testing
Use only when writing/updating/fixing C++ tests, configuring GoogleTest/CTest, diagnosing failing or flaky tests, or adding coverage/sanitizers.
Passed 8 of 24 test cases with the skill, and 16 of 24 without it.
1 fixed20 passed either way1 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
We are organizing our C++ project structure from scratch and want standard directory organization for our unit tests, integration tests, and static test files. What directory layout should be created under the project root?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends placing unit tests in tests/unit directory. | Passed | Passed |
| Recommends placing static test datasets in tests/testdata directory. | Missed | Passed |
The instructions your model reads when the skill loads.
针对现代 C++(C++17/20)的代理导向测试工作流,使用 GoogleTest/GoogleMock 和 CMake/CTest。
tests/unit、tests/integration、tests/testdata。gtest_discover_tests() 进行稳定的测试发现。--output-on-failure 运行完整套件。遵循 RED → GREEN → REFACTOR 循环:
// tests/add_test.cpp
#include <gtest/gtest.h>
test cases passed, vs 16 / 24 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.