docs(testing): document regression and seam test commands

This commit is contained in:
2026-04-21 13:13:51 +00:00
parent da7375c889
commit 6541b2db1c
2 changed files with 26 additions and 1 deletions
+14
View File
@@ -555,6 +555,12 @@ deno run --allow-all mod.ts help
# Run tests
deno task test
# Run the main regression suite used during focused changes
deno test --allow-all test/test.ts
# Run the full suite, including focused seam tests
deno test --allow-all test/
# Type check
deno task check
@@ -595,6 +601,14 @@ modelgrid/
└── bin/ # npm wrapper
```
Focused seam tests live alongside `test/test.ts`:
- `test/api-router_test.ts` covers routing, auth failures, and request-size handling
- `test/api-server_test.ts` covers health, metrics, and authenticated model listing
- `test/modelgrid-config_test.ts` covers config normalization and ignored-key warnings
- `test/model-registry_test.ts` covers fallback and file-backed catalog loading
- `test/cluster-manager-persistence_test.ts` covers persisted cluster state loading and pruning
## 🗑️ Uninstallation
```bash