Testing
Comprehensive testing for TEST state.
Instructions
- •Run unit tests:
scripts/run-unit-tests.sh - •Run API tests:
scripts/run-api-tests.sh - •Run browser tests (if UI): via Claude-in-Chrome MCP
- •Verify database (if data):
scripts/verify-database.sh - •Collect evidence:
scripts/collect-evidence.sh - •Report results (code verified, not judged)
Exit Criteria (Code Verified)
bash
# All must return exit code 0 scripts/run-unit-tests.sh scripts/run-api-tests.sh [ -f "/tmp/test-evidence/results.json" ] jq '.all_passed == true' /tmp/test-evidence/results.json
References
| File | Load When |
|---|---|
| references/unit-testing.md | Writing/running unit tests |
| references/api-testing.md | Testing API endpoints |
| references/browser-testing.md | UI testing with Chrome |
| references/database-testing.md | Database verification |