- 引入 SmartInt 和 SmartDict 类型,支持 YAML 占位符与业务类型的自动转换。 - 优化 CaseInfo 互斥校验逻辑,确保 request 与 api_action 二选一。 - 统一使用 Pydantic V2 的 model_config 规范。 - 将变量替换时机提前至模型实例化之前,支持占位符在校验前完成真实值注入, 保证了 int/bool 等字段的类型转换正确性。 - 优化断言渲染时机,支持响应提取值关联。
11 lines
335 B
INI
11 lines
335 B
INI
[pytest]
|
|
testpaths = tests
|
|
addopts = -q --show-capture=no
|
|
|
|
|
|
log_file = logs/pytest.log
|
|
log_file_level = debug
|
|
log_file_format = %(asctime)s [%(name)s] %(levelname)s %(module)s.%(funcName)s:%(lineno)d - %(message)s
|
|
log_file_date_format = %m/%d/%Y %H:%M:%S %p
|
|
|
|
disable_test_id_escaping_and_forfeit_all_rights_to_community_support = true |