mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-19 15:37:44 +08:00
feat: Introduce a new Go-based test suite runner with supporting scripts and documentation.
This commit is contained in:
18
README.en.md
18
README.en.md
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user