3 Star 40 Fork 4

王中/pytestapi-frame

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pytest.ini 822 Bytes
一键复制 编辑 原始数据 按行查看 历史
王中 提交于 2024-07-10 10:44 +08:00 . 忽悠警告
[pytest]
addopts = -v --alluredir=./report/xml --clean-alluredir -p no:warnings
;可执行标记为mark的对应用例,用or表示标记为demo或者smoke的用例都会执行
;addopts = -vs --alluredir=./results/json --clean-alluredir -m "demo or smoke"
;模块名的规则,配置测试搜索的模块文件名称
python_files = test_B*.py
python_classes = Test* #类名的规则
python_functions = test #方法名的规则
timeout = 10
;暂时未用到mark 需要时则在用例添加字段 并调整下业务驱动脚本即可
markers =
smoking :
high :
medium :
lower :
;log_cli = true
;log_cli_level = INFO
;filterwarnings =
; ignore:Module already imported so cannot be rewritten: faker
filterwarnings =
error
ignore::UserWarning
ignore:function ham\(\) is deprecated:DeprecationWarning
ignore:.*U.*mode is deprecated:DeprecationWarning
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wang-zhong-wang/pytestapi-frame.git
git@gitee.com:wang-zhong-wang/pytestapi-frame.git
wang-zhong-wang
pytestapi-frame
pytestapi-frame
master

搜索帮助