Sync test doc counts and master validation section.
Update Vitest 740 to 742, add Go server/agent Test* totals (765/585) and Playwright 24, plus operator test-suite gate table in tests/README.md.
This commit is contained in:
@@ -1,6 +1,27 @@
|
||||
# AetherForge Test Suite
|
||||
|
||||
**Current Vitest:** 740 tests in 87 files (`cd server/web && npm run test -- --run`). Full suite: `test.bat` → `scripts/test-suite.ps1`.
|
||||
**Current counts (2026-06-07):** Go server **765** `Test*` · Go agent **585** `Test*` · Vitest **742** tests in **87** files · Playwright **24** tests in **8** spec files. Refresh: `go test ./... -list .` (server/agent), `npm run test -- --run` (Vitest), `npx playwright test --list` (E2E). Full suite: `test.bat` → `scripts/test-suite.ps1`.
|
||||
|
||||
## Master validation (operator commands)
|
||||
|
||||
After parallel agent landings, run from repo root:
|
||||
|
||||
| Gate | Command | Phases |
|
||||
|------|---------|--------|
|
||||
| **Full gate** | `.\scripts\test-suite.ps1` | 1–8 (Go server, Go agent, fusion, Vitest, builds, Playwright on `:18989`) |
|
||||
| **Quick verify** | `.\scripts\test-suite.ps1 -SkipE2E` | 1–7b without Playwright — default post-landing smoke |
|
||||
| **Fast slice** | `.\scripts\test-suite.ps1 -SkipE2E -SkipBuild` | 1–4 only (Go + Vitest) |
|
||||
| **P2 focused** | `.\scripts\test-suite.ps1 -P2` | Mining/spread/path-forge/WS subset + Vitest; add phase 8 manually for onion + discover E2E |
|
||||
| **Fleet recon** | `.\scripts\test-suite.ps1 -ReconOnly` | Vuln/CVE, cred graph, triple-onion gates, Path Tracer discover, recon Vitest |
|
||||
|
||||
Count refresh (update this doc when totals drift):
|
||||
|
||||
```powershell
|
||||
cd server; (go test ./... -list . 2>$null | Select-String '^Test').Count
|
||||
cd agent; (go test ./... -list . 2>$null | Select-String '^Test').Count
|
||||
cd server\web; npm run test -- --run
|
||||
cd server\web; npx playwright test --list
|
||||
```
|
||||
|
||||
One command runs everything:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user