pytest报告

2021-02-24  本文已影响0人  Lutous

安装:

  • pip install allure-pytest
  • pip install pytest-html

生成报告:

  • pytest --alluredir=Output/allure_data
  • allure generate Output/allure_data -o Output/allure_report --clean
  • pytest --html=Output/report.html

参考:https://www.cnblogs.com/desireyang/p/12517269.html

上一篇 下一篇

猜你喜欢

热点阅读