# /integration-testing [Handbook](../../README.md) · [Skill index](README.md) · [Runtime source](../../../.claude/skills/integration-testing/SKILL.md) ## Purpose Exercise real cooperation across a selected application boundary with isolated fixtures and explicit dependency evidence. ## When to use HTTP routing/serialization, database queries/transactions, message handling or other actual component boundaries must be verified. ## When not to use Do not relabel an isolated mocked unit test as real integration or connect to a shared/production dependency implicitly. ## Invocation ```text /integration-testing Test the booking persistence boundary. ``` Autocomplete hint: ` [environment] [scenarios]`. Required information can be supplied in context; this is not a shell command or a CLI parser. Use plain-language arguments. See [argument conventions](../../skill-usage.md) for notation and permission boundaries. **Minimal example:** ```text /integration-testing Test the booking persistence boundary. ``` **With optional context:** ```text /integration-testing Test booking persistence constraints and rollback against the approved disposable database fixture; report real versus fake components and cleanup. ``` ## Inputs | Input | Requirement | If omitted | |---|---|---| | boundary and expected behavior | Required | Inspect active contracts; ask if unclear. | | real/fake topology | Required before coverage claims | Identify actual components; never substitute silently. | | environment/access and fixture ownership | Required before dependency execution | Use existing authorized disposable setup or ask; missing access blocks execution. | | scenarios and cleanup details | Optional at invocation | Derive relevant cases and confirm safe owned cleanup before running. | **No arguments:** Identify the active boundary; ask for missing real-dependency/environment details before execution. Optional inputs are discovered where reliable; recommendations do not become confirmed choices. Conditional requirements must be resolved before their dependent action. Required information is enforced by skill instructions, not by native autocomplete. The detailed procedure is [linked directly from SKILL.md](../../../.claude/skills/integration-testing/references/workflow.md). ## What it does Inspect boundary/callers → agree real/fake topology → define isolated readiness/setup/cleanup → implement actual contract/failure tests → execute authorized dependencies and checks → record results, gaps and cleanup. Read only the selected skill and [testing procedure](../../../.claude/framework/testing.md). Use the [specific plan/evidence template](../../../.claude/framework/templates/integration-test-plan.md) when a written plan helps. ## Outputs and ownership Scoped tests/scripts in the application’s existing layout, fixtures/configuration where required, and actual evidence under docs/project/testing// when warranted. No new runner, agent, service or permission is installed by the skill itself. ## Questions and decisions Resolve missing environment access, fixture ownership, required real components and credential/data implications before dependent execution. Do not silently substitute a fake provider. ## Permissions and side effects Uses ordinary conversation permissions. The main conversation writes scoped test artifacts and runs reviewed authorized checks. Installation/image pulls, credentials, destructive cleanup/migrations, global changes, shared-service traffic and paid capacity need applicable authorization. Reuse existing authorization for ordinary local work. Plan/script preparation may proceed while required execution approval/input is missing. ## Validation and completion Record exact argv/exits, source/tool/environment versions, actual test/workload/sample counts, safely preserved raw evidence and gaps. Inspect runner output, not merely exit status. Record every real/fake component. In-memory providers, emulators and mocked dependencies do not prove equivalence to the chosen deployed provider. Existing reviewed local gates and iteration-review can capture checks; helper success does not prove semantic coverage. ## Failure and recovery Preserve failing diagnostics and owned fixtures/resources. Do not weaken assertions, change thresholds after seeing results or retry until green. One reasoned retry/two review rounds apply; keep missing tools/access/baselines as BLOCKED/UNVERIFIED. Cleanup only resources owned by this run and report failures. No independent reviewer available means UNVERIFIED. ## Example ```text /integration-testing Test the actual persistence boundary, rollback and constraint failures using our approved disposable database fixture. ``` This is an illustrative invocation, not evidence that a model ran tests for an actual application. Existing template tests qualify packaging/structure only. ## Related components [Testing selection guide](../../testing-guide.md) · [implement-change](implement-change.md) · [iteration-review](iteration-review.md) · [testing helper/gates](../helpers.md)