Allure Report使用


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 # 用於將一些通用的函數作為測試步驟輸出到報告,調用此函數的地方會向報告中輸出步驟


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM