Add full test suite with unit, integration, and E2E smoke tests.

Introduce test.bat orchestrating Go/Vitest/Playwright phases, expand coverage across server, agent, and dashboard, and document in tests/README.md.
This commit is contained in:
drjones
2026-05-29 10:04:52 -07:00
parent f9e26bb1a6
commit e55f11a657
23 changed files with 1052 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
Findings grouped by severity. Updated after full bug-hunt pass (May 2026).
**Last verified:** `go test ./...` in `server/` and `agent/`, `npm test && npm run build` in `server/web/`.
**Last verified:** run `test.bat` from project root (all phases) or see [tests/README.md](tests/README.md).
---
@@ -123,6 +123,14 @@ Findings grouped by severity. Updated after full bug-hunt pass (May 2026).
## Verification
Run the full suite:
```bat
test.bat
```
Or manually:
```bat
cd server && go test ./... && go build .
cd ..\agent && go test ./... && go build .
@@ -130,6 +138,8 @@ cd ..\server\web && npm test && npm run build
run.bat
```
See **[tests/README.md](tests/README.md)** for phase breakdown and E2E options.
---
## Priority for next pass