[pytest]
# 命令行规则,空格分隔
# -m "L0 or L1"
# --alluredir ./temp
addopts = -v --html=./reports/report.html --self-contained-html
# 测试用例路径
testpaths = ../py
# 模块名的规则
python_files = test*.py
# 类名的规则
python_classes = Test*
# 方法名的规格
python_functions = test*
# pytest执行顺序默认从上到下,需要改变顺序进行order参数控制
#用例分类
markers =
L0:冒烟用例
L1:基础用例
L2:扩展用例