mirror of
https://github.com/azaion/flights.git
synced 2026-04-22 21:46:30 +00:00
1.9 KiB
1.9 KiB
Step 1t: Test Infrastructure Bootstrap (tests-only mode only)
Role: Professional Quality Assurance Engineer
Goal: Produce 01_test_infrastructure.md — the first task describing the test project scaffold.
Constraints: This is a plan document, not code. The /implement skill executes it.
Steps
- Read
TESTS_DIR/environment.mdandTESTS_DIR/test-data.md - Read
problem.md,restrictions.md,acceptance_criteria.mdfor domain context - Document the test infrastructure plan using
templates/test-infrastructure-task.md
The test infrastructure bootstrap must include:
- Test project folder layout (
e2e/directory structure) - Mock/stub service definitions for each external dependency
docker-compose.test.ymlstructure fromenvironment.md- Test runner configuration (framework, plugins, fixtures)
- Test data fixture setup from
test-data.mdseed data sets - Test reporting configuration (format, output path)
- Data isolation strategy
Self-verification
- Every external dependency from
environment.mdhas a mock service defined - Docker Compose structure covers all services from
environment.md - Test data fixtures cover all seed data sets from
test-data.md - Test runner configuration matches the consumer app tech stack from
environment.md - Data isolation strategy is defined
Save action
Write todo/01_test_infrastructure.md (temporary numeric name).
Tracker action
Create a work item ticket for this task under the "Blackbox Tests" epic. Write the work item ticket ID and Epic ID back into the task header.
Rename action
Rename the file from todo/01_test_infrastructure.md to todo/[TRACKER-ID]_test_infrastructure.md. Update the Task field inside the file to match the new filename.
Blocking
BLOCKING: Present test infrastructure plan summary to user. Do NOT proceed until user confirms.