pytest.ini python_files配置多个文件
python_files当需要控制多测试用例脚本是可以使用空格隔开。[pytest]addopts = -s --alluredir reporttestpaths = ./scripts/python_files = test_*.py cc*.pypython_classes = Test*python_functions = test_*下过如下图:testpaths同样也适用: 如需要执行scrips下或者其他文件路径下xx 可以使用。使用空格隔开te.
原创
2021-04-11 19:50:35 ·
1003 阅读 ·
0 评论