Buildwithclaude testing
Testing strategies and methodologies including TDD, E2E testing, and multi-framework support
install
source · Clone the upstream repo
git clone https://github.com/davepoon/buildwithclaude
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/davepoon/buildwithclaude "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/cc-best/skills/testing" ~/.claude/skills/davepoon-buildwithclaude-testing && rm -rf "$T"
manifest:
plugins/cc-best/skills/testing/SKILL.mdsource content
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:
— Implementation with tests/cc-best:dev
agent — Test-driven development guidancetdd-guide
agent — Fixing test failuresbuild-error-resolver
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>