pytest参数说明:https://wenku.baidu.com/view/7f185fc90a75f46527d3240c844769eae009a3e2.html
pytest中文官网:
https://www.osgeo.cn/pytest/contents.html
pytest-ordering:
pytest的执行顺序
–junit-xml=path:
生成xml结果文件
pytest.ini
[pytest]
addopts = -vs --alluredir ./report
python_files = 'abc_*py'
python_classes = 'Login*'
python_functions = 'case*'
pytest xx.py --setup-show:可以展示每个用例的fixture顺序