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 # Run tests
deno task test 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 # Type check
deno task check deno task check
@@ -595,6 +601,14 @@ modelgrid/
└── bin/ # npm wrapper └── 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 ## 🗑️ Uninstallation
```bash ```bash
+12 -1
View File
@@ -61,7 +61,7 @@
### Pending Tasks ### Pending Tasks
- [ ] Integration testing with real GPUs - [ ] Integration testing with real GPUs
- [ ] End-to-end API testing - [x] End-to-end API smoke testing for health, metrics, and authenticated model listings
- [ ] Documentation improvements - [ ] Documentation improvements
- [ ] First release (v1.0.0) - [ ] First release (v1.0.0)
@@ -133,6 +133,17 @@ modelgrid/
└── docs/ # Documentation └── docs/ # Documentation
``` ```
## Test Commands
```bash
deno task check
deno test --allow-all test/test.ts
deno test --allow-all test/
```
The focused seam tests currently cover API routing, API server endpoints, config normalization,
model registry loading, and cluster state persistence.
--- ---
## CLI Commands ## CLI Commands