testing-integration
1
总安装量
1
周安装量
#76081
全站排名
安装命令
npx skills add https://github.com/kentoshimizu/sw-agent-skills --skill testing-integration
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
Testing Integration
Overview
Use this skill to verify boundary behavior where independently correct units may still fail in combination.
Scope Boundaries
- Use when correctness depends on integration seams.
- Typical requests:
Validate repository-to-database behavior including failure paths.Test timeout and retry handling between services.Verify adapter replacement does not break boundary contracts.
- Do not use when:
- The goal is full browser journey validation (
testing-e2e/playwright). - The goal is pure isolated unit checks (
testing-unit).
- The goal is full browser journey validation (
Inputs
- Integration seams and dependency topology
- Failure-mode expectations (timeout, retry, partial failure)
- Fixture/environment constraints
Outputs
- Boundary test matrix with dependency strategy
- Decision record for integration depth and tooling choices
- Verification checklist for success and failure semantics
Workflow
- Enumerate high-risk seams and boundary contracts.
- Define required behaviors for success, timeout, and error cases.
- Compare fixture strategies and choose one with rationale.
- Execute focused integration tests with reproducible setup.
- Publish coverage gaps, residual risks, and ownership.
Quality Gates
- Critical seams include failure-path coverage.
- Boundary expectations are explicit and deterministic.
- Evidence can be replayed in CI.
- Dependency assumptions are documented.
Failure Handling
- Stop when critical boundaries lack failure-path tests.
- Escalate when dependency ownership blocks reliable fixtures.
Bundled Resources
references/trigger-and-examples.md: trigger patterns, anti-patterns, and deliverable expectations.