refactor(): 优化文件读取,变量替换等

- 优化用例加载模块器
- 新增JSON文件读取模块
This commit is contained in:
2025-03-09 17:23:25 +08:00
parent 914b0301ba
commit a50e00a4e1
15 changed files with 219 additions and 451 deletions

View File

@@ -14,7 +14,7 @@ from pathlib import Path
root_path = (Path(__file__)).resolve().parents[1]
base_url = 'http://119.91.19.171:40065'
case_path = rf"{root_path}\TestCases\answer"
cases_dir = rf"{root_path}\TestCases\answer"
exchanger = rf"{root_path}\extract.yaml"
id_path = rf"{root_path}\id.yaml"