feat: 优化定位转换器调整框架结构

- 新增 finder.py 重构定位转换器
- 优化 .gitignore 文件
- 其他优化
This commit is contained in:
2026-01-25 17:24:04 +08:00
parent 92d06dd9cf
commit 5a50eb8289
15 changed files with 342 additions and 126 deletions

30
settings.toml Normal file
View File

@@ -0,0 +1,30 @@
# 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" # 也可以是绝对路径