pytest生成自帶樣式的報告和用例重複執行

1、首先安裝測試框架和需要的插件 cmd 執行 $ pip install pytest-html $ pip install pytest 2、然後我們在根目錄建一個test開頭的用例和report開頭的目錄,比如 3、在當前目錄中執行 pytest --html=./report/report.html --self-contained-html (html=./report/report.h
相關文章
相關標籤/搜索