integration-testing
Installation
SKILL.md
Integration Testing
Use this skill when
- Testing DB + app + external clients together
- Verifying contracts between layers
- Catching wiring, config, and transaction bugs
Do not use this skill when
- Isolated unit behavior
- End-to-end UI flows (use e2e skills)
Instructions
- Use a real database (test schema), not full-mock layers.
- Control external systems with test doubles or containers.
- Reset state between tests deterministically.
- Test the seams where config, auth, and data flow meet.
- Include failure injection: timeouts, 500s, partial data.
- Keep the suite worth its runtime; slice by speed.
- Mirror production config as closely as practical.