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:
AetherForge
2026-06-07 06:17:37 -07:00
parent 56943b4bf0
commit aa6b8a3142
2 changed files with 25 additions and 4 deletions

View File

@@ -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` | 18 (Go server, Go agent, fusion, Vitest, builds, Playwright on `:18989`) |
| **Quick verify** | `.\scripts\test-suite.ps1 -SkipE2E` | 17b without Playwright — default post-landing smoke |
| **Fast slice** | `.\scripts\test-suite.ps1 -SkipE2E -SkipBuild` | 14 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: