Files
WebAutoTest/settings.toml
CNWei 5a50eb8289 feat: 优化定位转换器调整框架结构
- 新增 finder.py 重构定位转换器
- 优化 .gitignore 文件
- 其他优化
2026-01-25 17:24:04 +08:00

30 lines
1.0 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# settings.toml - 示例配置文件
# 如果此文件存在,这里的配置将覆盖代码中的默认值
base_url = "http://production.example.com:8080" # 覆盖默认的 base_url
screenshot = "data/screenshots" # 相对于项目根目录的路径
[database]
host = "192.168.1.100" # 覆盖数据库主机
port = 3307 # 覆盖数据库端口
user = "prod_user"
password = "prod_password_secret"
database = "production_db"
[allure]
epic = "项目 V2核心功能"
feature = "用户管理模块"
[rsa]
public = """-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyourPublicKeyHere...
-----END PUBLIC KEY-----"""
private = """-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,yourEncryptedPrivateKeyInfoHere...
-----END RSA PRIVATE KEY-----"""
# 注意cases_dir, exchanger, id_path, test_dir 也可以在这里覆盖
# cases_dir = "MyTestCases/Answer" # 如果是相对路径,是相对于 root_path
# test_dir = "/absolute/path/to/tests" # 也可以是绝对路径