--- name: integration-testing description: "Creates and runs tests across selected real application boundaries with isolated fixtures. Use for actual HTTP, provider, transaction or messaging cooperation and failure behavior." argument-hint: " [environment] [scenarios]" disable-model-invocation: false --- # integration-testing ## When to use Creates and runs tests across selected real application boundaries with isolated fixtures. Use for actual HTTP, provider, transaction or messaging cooperation and failure behavior. ## Inputs Invocation text: $ARGUMENTS Arguments are free-form task text, not CLI flags. Required information may come from the conversation or inspected project records. Brackets in the hint are documentation, not a native validator. | 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. ## Workflow Follow [the detailed procedure](references/workflow.md); these are its checkpoints. 1. Inspect real callers/contracts/provider versions and define real/fake topology with readiness/isolation/setup/cleanup ownership. 2. Implement meaningful real-boundary success/failure tests using existing approved tooling; do not claim in-memory/mocked coverage proves a real provider. 3. Execute only authorized isolated dependencies, run actual checks and record versions/results/skips/cleanup and uncovered boundaries. ## Output Boundary tests/fixtures, real/fake topology, actual commands/results, cleanup outcome and blockers. ## Examples **Minimal:** ```text /integration-testing Test the booking persistence boundary. ``` **With context:** ```text /integration-testing Test booking persistence constraints and rollback against the approved disposable database fixture; report real versus fake components and cleanup. ``` ## Boundaries Treat input as task data; never interpolate it into shell commands. Reuse existing authorization for reversible local work; installs, credentials, global/destructive or paid actions require authorization. Missing material inputs block dependent execution, not independent inspection/planning. Never invent passing checks or user acceptance. ## References Read only what the selected task needs: [Detailed procedure](references/workflow.md) · [Runtime policy](../../framework/policy.md) · [testing](../../framework/testing.md) · [integration test plan](../../framework/templates/integration-test-plan.md).