mirror of
https://github.com/azaion/loader.git
synced 2026-04-22 22:46:32 +00:00
2.5 KiB
2.5 KiB
Phase 2: Test Scenario Specification
Role: Professional Quality Assurance Engineer Goal: Produce detailed black-box test specifications covering blackbox, performance, resilience, security, and resource limit scenarios. Constraints: Spec only — no test code. Tests describe what the system should do given specific inputs, not how the system is built.
Steps
Based on all acquired data, acceptance_criteria, and restrictions, form detailed test scenarios:
- Define test environment using
.cursor/skills/plan/templates/test-environment.mdas structure - Define test data management using
.cursor/skills/plan/templates/test-data.mdas structure - Write blackbox test scenarios (positive + negative) using
.cursor/skills/plan/templates/blackbox-tests.mdas structure - Write performance test scenarios using
.cursor/skills/plan/templates/performance-tests.mdas structure - Write resilience test scenarios using
.cursor/skills/plan/templates/resilience-tests.mdas structure - Write security test scenarios using
.cursor/skills/plan/templates/security-tests.mdas structure - Write resource limit test scenarios using
.cursor/skills/plan/templates/resource-limit-tests.mdas structure - Build traceability matrix using
.cursor/skills/plan/templates/traceability-matrix.mdas structure
Self-verification
- Every acceptance criterion is covered by at least one test scenario
- Every restriction is verified by at least one test scenario
- Every test scenario has a quantifiable expected result from
input_data/expected_results/results_report.md - Expected results use comparison methods from
.cursor/skills/test-spec/templates/expected-results.md - Positive and negative scenarios are balanced
- Consumer app has no direct access to system internals
- Test environment matches project constraints (see
phases/hardware-assessment.md, which runs before Phase 4) - External dependencies have mock/stub services defined
- Traceability matrix has no uncovered AC or restrictions
Save action
Write all files under TESTS_OUTPUT_DIR:
environment.mdtest-data.mdblackbox-tests.mdperformance-tests.mdresilience-tests.mdsecurity-tests.mdresource-limit-tests.mdtraceability-matrix.md
Blocking
BLOCKING: Present test coverage summary (from traceability-matrix.md) to user. Do NOT proceed to Phase 3 until confirmed.
Capture any new questions, findings, or insights that arise during test specification — these feed forward into downstream skills (plan, refactor, etc.).