allure

allure.feature # 用于定义被测试的功能,被测产品的需求点
allure.story # 用于定义被测功能的用户场景,即子功能点
with allure.step # 用于将一个测试用例,分成几个步骤在报告中输出
allure.attach # 用于向测试报告中输入一些附加的信息,通常是一些测试数据信息
pytest.allure.step # 用于将一些通用的函数作为测试步骤输出到报告,调用此函数的地方会向报告中输出步骤

猜你喜欢

转载自www.cnblogs.com/ruguokeyi/p/11851577.html
今日推荐