08ea5fbe98
添加用户管理视图、API和状态管理文件
37 lines
957 B
YAML
37 lines
957 B
YAML
# 测试工具配置文件
|
|
|
|
# API配置
|
|
api:
|
|
base_url: ${TEST_TOOLS_API_BASE_URL:http://127.0.0.1:8080/api}
|
|
timeout: ${TEST_TOOLS_API_TIMEOUT:30}
|
|
max_retries: ${TEST_TOOLS_API_MAX_RETRIES:3}
|
|
|
|
# 认证配置
|
|
auth:
|
|
login_endpoint: ${TEST_TOOLS_AUTH_LOGIN_ENDPOINT:/sys/auth/login}
|
|
username: ${TEST_TOOLS_AUTH_USERNAME:admin}
|
|
password: ${TEST_TOOLS_AUTH_PASSWORD:admin123}
|
|
token_storage: ${TEST_TOOLS_AUTH_TOKEN_STORAGE:memory}
|
|
|
|
# 测试配置
|
|
test:
|
|
data_dir: data
|
|
test_cases_dir: test_cases
|
|
parallel: true
|
|
retry_count: 2
|
|
|
|
# 报告配置
|
|
report:
|
|
output_dir: ${TEST_TOOLS_REPORT_OUTPUT_DIR:../test-results/test-tools/reports}
|
|
formats:
|
|
- json
|
|
- html
|
|
include_details: true
|
|
|
|
# 日志配置
|
|
logging:
|
|
level: ${TEST_TOOLS_LOGGING_LEVEL:INFO}
|
|
file: ${TEST_TOOLS_LOGGING_FILE:../test-results/test-tools/logs/test.log}
|
|
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
|
console: ${TEST_TOOLS_LOGGING_CONSOLE:true}
|