1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Cloudreve API 集成测试配置
# 复制此文件为 test_config.toml 并填入你的测试环境信息
[]
# V3 API 测试环境
= "https://your-v3-instance.com"
= "test_user@example.com"
= "your_password_here"
# 可选:2FA 测试用的 OTP 密钥
# otp_secret = "JBSWY3DPEHPK3PXP"
[]
# V4 API 测试环境
= "https://your-v4-instance.com"
= "test_user@example.com"
= "your_password_here"
# 可选:2FA 测试用的 OTP 密钥
# otp_secret = "JBSWY3DPEHPK3PXP"
[]
# OpenAPI 验证设置
= true
# 严格模式:任何与 OpenAPI 规范不匹配都会导致测试失败
= false
# 允许响应包含 OpenAPI 规范中未定义的字段
= true
[]
# 测试超时时间(秒)
= 300
# 并行测试执行
= true
# 详细输出
= true
[]
# 报告格式
= ["terminal", "json"]
= "test-results/results.json"