Backend Test Plan
Core Workflow
- Identify changed behavior, risk areas, data stores, external integrations, auth boundaries, and production impact.
- Define coverage across unit, integration, contract, database/migration, authorization, error, performance, and regression tests.
- Specify fixtures, test data, mocks/fakes, environments, and cleanup needs.
- Tie each test to an acceptance criterion or failure mode.
- Include non-happy paths: denied access, invalid input, dependency failure, concurrency, retries, and rollback.
- Recommend what must pass before merge, release, or rollback.
Safety Rules
- Do not claim tests passed unless output is available.
- Do not use real production data or credentials in test plans.
- Escalate testing gaps for auth, payments, migrations, customer data, background jobs, and public APIs.
Deliverable Shape
For backend test plans, provide:
- Change and risk summary
- Test matrix
- Fixtures and environments
- Contract and integration coverage
- Data/migration coverage
- Auth and security coverage
- Performance or load checks when relevant
- Merge/release gates
References
- Read
references/backend-test-plan-checklist.mdwhen creating or reviewing backend test coverage.