| name | 04-test-validate |
| description | Validate the implementation by running tests, checking quality, and verifying requirements are met |
Step 4: Test and Validate
Goal
Verify that the implementation works correctly, meets all requirements,
and doesn't break existing functionality.
What You Need
- Implementation results: workflow-state/implementation-results.md
- Implementation plan: workflow-state/implementation-plan.md
- The files modified in Step 3
Process
- Review all files modified in Step 3
- Run the existing test suites
- Write or update tests for new functionality
- Perform a manual testing checklist
- Check for linter or type errors
- Verify all requirements from Step 1 are satisfied
- Check edge cases and error handling
Verification
Output
Write workflow-state/test-results.md containing:
- Test execution summary
- List of tests added or modified
- Issues found and their current status
- Coverage report (if applicable)
- Validation checklist results
What Happens Next
If tests pass, the orchestrator will move to Step 5 (Documentation).
If tests fail, the orchestrator will ask the user whether to fix or roll back.