1b0e7dd80Sopenharmony_ci[pytest]
2b0e7dd80Sopenharmony_ci# 命令行规则,空格分隔
3b0e7dd80Sopenharmony_ci# -m "L0 or L1"
4b0e7dd80Sopenharmony_ci# --alluredir ./temp
5b0e7dd80Sopenharmony_ciaddopts = -vs --html=./reports/report.html --self-contained-html
6b0e7dd80Sopenharmony_ci# 测试用例路径
7b0e7dd80Sopenharmony_citestpaths = ../py
8b0e7dd80Sopenharmony_ci# 模块名的规则
9b0e7dd80Sopenharmony_cipython_files = test*.py
10b0e7dd80Sopenharmony_ci# 类名的规则
11b0e7dd80Sopenharmony_cipython_classes = Test*
12b0e7dd80Sopenharmony_ci# 方法名的规格
13b0e7dd80Sopenharmony_cipython_functions = test*
14b0e7dd80Sopenharmony_ci# pytest执行顺序默认从上到下,需要改变顺序进行order参数控制
15b0e7dd80Sopenharmony_ci
16b0e7dd80Sopenharmony_ci#用例分类
17b0e7dd80Sopenharmony_cimarkers = 
18b0e7dd80Sopenharmony_ci    L0:冒烟用例
19b0e7dd80Sopenharmony_ci    L1:基础用例
20b0e7dd80Sopenharmony_ci    L2:扩展用例
21b0e7dd80Sopenharmony_ci
22