Skip to content

davepoon/buildwithclaude / plugins/cc-best/skills/testing

testing

Verified

Testing strategies and methodologies including TDD, E2E testing, and multi-framework support

FileKindSize
SKILL.mdskill md1.0 KB
---
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 tests
- `tdd-guide` agent — Test-driven development guidance
- `build-error-resolver` agent — Fixing test failures

## Key Rules

1. **Tests first** — Write failing test before implementation
2. **AAA pattern** — Arrange, Act, Assert in every test
3. **No shared mutable state** — Each test is independent
4. **Descriptive names** — `test_<feature>_<scenario>_<expected>`
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall