feat: Introduce a new Go-based test suite runner with supporting scripts and documentation.

This commit is contained in:
CJACK
2026-02-17 02:03:41 +08:00
parent 416b9939fc
commit 8cbb5a4262
9 changed files with 1792 additions and 0 deletions

View File

@@ -210,11 +210,29 @@ Tool-call leakage is handled in the current implementation:
- API docs: `API.md` / `API.en.md`
- Deployment docs: `DEPLOY.md` / `DEPLOY.en.md`
- Contributing: `CONTRIBUTING.md` / `CONTRIBUTING.en.md`
- Testsuite guide: `TESTING.md`
```bash
go test ./...
```
One-command live end-to-end tests (with full request/response logs):
```bash
./scripts/testsuite/run-live.sh
```
Or run with explicit flags:
```bash
go run ./cmd/ds2api-tests \
--config config.json \
--admin-key admin \
--out artifacts/testsuite \
--timeout 120 \
--retries 2
```
## Disclaimer
This project is built through reverse engineering and is provided for learning and research only. Stability is not guaranteed. Do not use it in scenarios that violate terms of service or laws.