Verifies implementation completion by running acceptance tests and triggers retry loop on failure.
npm test -- --testPathPattern="{test files}"completionStatus:
total: 5
passed: 4
failed: 1
allPassed: false
failedTests:
- id: T2
type: Unit # or Integration
file: ErrorHandler.test.tsx
error: "Expected error message not shown"
failedPhase: "Phase 1" # Determines where to retry
recommendation: "Fix ErrorHandler.tsx, then re-run Phase 1"
When allPassed: false:
Identify failed phase based on test type:
Return to failed phase (NOT test writing):
failedTests info to implementation-agentRetry limits:
# Run specific tests
npm test -- --testPathPattern="batch.test|ErrorHandler.test"
# Check coverage (optional)
npm test -- --coverage --testPathPattern="..."