Catalogue / testing
testing
MITSignedTesting strategies and methodologies including TDD, E2E testing, and multi-framework support--- 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>
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 1.0 kB | f41edd3e9a7f |
| SKILVAULT_SOURCE.json | 1.2 kB | b4bda1a08eb6 |
| THIRD_PARTY_NOTICES.md | 1.1 kB | 6ed0de0ad7e4 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 4f92d3077ec5 | 24 Nov 2026 |
Locking a skill to one version needs Pro.