mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-14 05:05:09 +08:00
feat: Introduce a new Go-based test suite runner with supporting scripts and documentation.
This commit is contained in:
18
README.MD
18
README.MD
@@ -210,11 +210,29 @@ cp config.example.json config.json
|
||||
- API 文档:`API.md` / `API.en.md`
|
||||
- 部署文档:`DEPLOY.md` / `DEPLOY.en.md`
|
||||
- 贡献指南:`CONTRIBUTING.md` / `CONTRIBUTING.en.md`
|
||||
- 测试集文档:`TESTING.md`
|
||||
|
||||
```bash
|
||||
go test ./...
|
||||
```
|
||||
|
||||
一键真实账号全链路测试(会生成完整请求/响应日志):
|
||||
|
||||
```bash
|
||||
./scripts/testsuite/run-live.sh
|
||||
```
|
||||
|
||||
或使用可配置参数:
|
||||
|
||||
```bash
|
||||
go run ./cmd/ds2api-tests \
|
||||
--config config.json \
|
||||
--admin-key admin \
|
||||
--out artifacts/testsuite \
|
||||
--timeout 120 \
|
||||
--retries 2
|
||||
```
|
||||
|
||||
## 免责声明
|
||||
|
||||
本项目基于逆向方式实现,仅供学习与研究使用。稳定性和可用性不作保证,请勿用于违反服务条款或法律法规的场景。
|
||||
|
||||
Reference in New Issue
Block a user