CtrlK
BlogDocsLog inGet started
Tessl Logo

cpp-testing

仅用于编写/更新/修复C++测试、配置GoogleTest/CTest、诊断失败或不稳定的测试,或添加覆盖率/消毒器时使用。

89

1.05x
Quality

85%

Does it follow best practices?

Impact

97%

1.05x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Evaluation results

100%

8%

Add Coverage and Sanitizer Support to a C++ Project

Coverage and sanitizer CMake configuration

Criteria
Without this skill
With this skill

ENABLE_COVERAGE option

100%

100%

Target-level coverage flags

100%

100%

GCC coverage flags correct

100%

100%

Clang coverage flags correct

100%

100%

ENABLE_ASAN option

100%

100%

ENABLE_UBSAN option

100%

100%

ENABLE_TSAN option

100%

100%

ASan flags include -fno-omit-frame-pointer

100%

100%

UBSan flags include -fno-omit-frame-pointer

0%

100%

lcov coverage workflow

100%

100%

Coverage configure command

100%

100%

92%

2%

Add Tests for an Order Processing Service

Test doubles, assertions, and test isolation

Criteria
Without this skill
With this skill

MockNotifier uses MOCK_METHOD

100%

100%

Fake for InventoryRepository

100%

100%

EXPECT_CALL for notifier

100%

100%

ASSERT_* for preconditions

25%

25%

EXPECT_* for multiple checks

100%

100%

No real clock in tests

66%

83%

Dependency injection in tests

100%

100%

gtest_discover_tests used

100%

100%

Test directory structure

100%

100%

No overmocking value objects

100%

100%

GTest and GMock linked

100%

100%

100%

4%

Bootstrap C++ Project with Testing Infrastructure

CMake/CTest project setup with GoogleTest

Criteria
Without this skill
With this skill

cmake_minimum_required version

100%

100%

C++ standard set

100%

100%

CXX_STANDARD_REQUIRED ON

100%

100%

FetchContent for GoogleTest

100%

100%

Pinned GoogleTest version

100%

100%

gtest_discover_tests used

100%

100%

enable_testing and GoogleTest include

100%

100%

Test directory layout

100%

100%

ctest --output-on-failure

100%

100%

ctest --test-dir used

100%

100%

GTest and GMock linked

50%

100%

Repository
affaan-m/ECC
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.