一键导入
integration-testing
Test real system boundaries, not mocks of mocks. Integration tests verify that components work together, not that they work in isolation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Test real system boundaries, not mocks of mocks. Integration tests verify that components work together, not that they work in isolation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Automated quality gates from commit to production. Every merge to main is potentially shippable. No manual steps in the deployment path.
Document decisions, not just implementations. ADRs for architectural choices, inline docs for non-obvious code, and runbooks for operational knowledge.
Graceful degradation and meaningful error messages. Errors are first-class citizens, not afterthoughts. Every error path is designed, not discovered.
Converts unstructured meeting notes into structured, assigned, time-bounded action items. Never leave a meeting without knowing who does what by when.
Safe, behavior-preserving code transformation backed by tests. Refactor with evidence, not instinct.
Distill complex topics into layered, actionable summaries. Start with the key insight, layer in detail, end with recommended next action.
| name | integration-testing |
| description | Test real system boundaries, not mocks of mocks. Integration tests verify that components work together, not that they work in isolation. |
| category | test |
| applies-to | ["claude","gemini","cursor","copilot","any"] |
| version | 1.0.0 |
Unit tests verify components work in isolation. Integration tests verify they work together. The gap between these two is where most production bugs hide. This skill ensures integration tests cover the real system boundaries.
Verify: Boundary map created. Top 5 prioritized.
Verify: No internal boundaries are mocked in integration tests.
Verify: At least 1 failure case per boundary is tested.
Verify: Test suite passes when run in random order.
| Excuse | Rebuttal |
|---|---|
| "Unit tests are enough" | Unit tests with mocks test that your mocks work, not your system. |
| "Integration tests are slow" | Slow tests are better than discovering bugs in production. Optimize the setup, not the coverage. |
| "We test in staging" | Staging is not a substitute for automated tests. It's too slow and too manual. |