https://blog.csdn.net/liuchunming033/article/details/79624474#commentBox

https://blog.csdn.net/lihua_tan/article/details/76099282

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

相关文章:

  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-06-06
  • 2022-12-23
  • 2021-12-24
  • 2021-08-22
猜你喜欢
  • 2021-09-16
  • 2021-07-14
  • 2022-01-14
  • 2021-04-15
  • 2021-11-13
  • 2021-10-29
相关资源
相似解决方案