python3.4.3安裝allure2記錄


一、安裝:cmd執行命令pip install allure-pytest

二、下載allure2:2.7.0版本 https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.7.0/allure-2.7.0.zip

三、解壓到運行 pytest 的目錄下,打開\allure-2.7.0\bin 文件夾,復制路徑,添加到系統環境變量 path 下:

四、生成報告,cmd執行命令 allure generate report/ -o report/html

五、打開報告:

直接找到 report/html 打開 index.html 會顯示一個空的報告。用 pycharm 去打開:

 


免責聲明!

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



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