Agent Skills
› davepoon/buildwithclaude
› testing
testing
GitHub提供全面的测试策略与方法论指导,涵盖TDD工作流、测试组织(单元/集成/E2E)、多框架支持及Mock策略。确保高覆盖率与有意义断言,规范测试命名与独立性。
Trigger Scenarios
编写实现代码时附带测试
进行测试驱动开发指导
修复构建或测试失败
Install
npx skills add davepoon/buildwithclaude --skill testing -g -y
SKILL.md
Frontmatter
{
"name": "testing",
"description": "Testing strategies and methodologies including TDD, E2E testing, and multi-framework support"
}
Testing Skill
Comprehensive testing guidance covering:
- TDD Workflow: Red → Green → Refactor cycle with practical examples
- Test Organization: Unit / Integration / E2E test structure
- Framework Support: pytest, Jest, JUnit5, xUnit, Google Test
- Mock Strategies: Only mock external boundaries, not internal logic
- Coverage Requirements: 80%+ with meaningful assertions
When Loaded
This skill is automatically injected when working with:
/cc-best:dev— Implementation with teststdd-guideagent — Test-driven development guidancebuild-error-resolveragent — Fixing test failures
Key Rules
- Tests first — Write failing test before implementation
- AAA pattern — Arrange, Act, Assert in every test
- No shared mutable state — Each test is independent
- Descriptive names —
test_<feature>_<scenario>_<expected>
Version History
- 502fc01 Current 2026-07-05 15:09


