Detailed procedure
Use the input contract in SKILL.md; resolve its required information before dependent actions.
Input: the resolved request: boundary/contract, relevant components, test environment and acceptance criteria. Not isolated unit tests or an assumed proof of production connectivity. Read .claude/framework/testing.md, STATE.md, applicable project decisions and actual manifests/test configuration. Use the existing runner and installed versions; unfamiliar APIs/flags need installed-source or official-document verification. No automatic package/tool installation, credentials, global changes, paid services or destructive operations. Reuse existing authorization for ordinary local work. Load only relevant profiles and test references; never all testing skills for every change.
- Inspect actual callers, handlers, schemas/providers and dependency versions. Identify which real boundaries must participate and which surrounding systems may be substituted. Ask for materially missing environment/data ownership, dependency access or expected failure behavior before dependent execution.
- Use
.claude/framework/templates/integration-test-plan.md. Define real versus fake components, deterministic fixture data, readiness check, unique namespace/database/schema, setup/cleanup owner, timeouts and isolation/parallelism. Containers and external services are not assumed installed, authorized or free. - Implement tests with the existing framework and verified contracts. Exercise actual serialization/routing/query/transaction/broker behavior applicable to the scope, plus authz, constraints, rollback/idempotency and dependency failure paths as relevant. A fake repository is not proof of database integration; an in-memory provider is not proof of the chosen database dialect.
- Start/use only authorized isolated dependencies. Do not access production/shared databases, use credentials, pull images/install packages, execute migrations or delete data merely because a test needs them. Use existing authorization for disposable local fixtures; cleanup only resources created/owned by this run, including failure paths. Missing dependency access stays BLOCKED/UNVERIFIED; do not silently substitute and claim equivalent coverage.
- Execute actual targeted checks and relevant regression suite. Record source/config versions, real/fake topology, fixture lifecycle, exact commands/exits, test counts/skips, failure diagnostics and cleanup outcome. Update project testing evidence and existing local gates where applicable. Significant changes use iteration-review within existing bounds. Report untested external behavior separately; a green stub cannot prove integration.