mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-23 01:17:44 +08:00
feat: Introduce a new Go-based test suite runner with supporting scripts and documentation.
This commit is contained in:
26
DEPLOY.en.md
26
DEPLOY.en.md
@@ -225,3 +225,29 @@ If admin UI is required:
|
||||
```bash
|
||||
curl -s http://127.0.0.1:5001/admin
|
||||
```
|
||||
|
||||
## 7. Pre-release Local Regression (Recommended)
|
||||
|
||||
Run the full live testsuite before release:
|
||||
|
||||
```bash
|
||||
./scripts/testsuite/run-live.sh
|
||||
```
|
||||
|
||||
Optional flags:
|
||||
|
||||
```bash
|
||||
go run ./cmd/ds2api-tests \
|
||||
--config config.json \
|
||||
--admin-key admin \
|
||||
--out artifacts/testsuite \
|
||||
--timeout 120 \
|
||||
--retries 2
|
||||
```
|
||||
|
||||
The testsuite automatically performs:
|
||||
|
||||
- preflight checks (syntax/build/unit tests)
|
||||
- isolated config copy startup (no mutation to your original `config.json`)
|
||||
- live scenario verification (OpenAI/Claude/Admin/concurrency/toolcall/streaming)
|
||||
- full request/response artifact logging for debugging
|
||||
|
||||
Reference in New Issue
Block a user