pytest(九)

html報告+錯誤截圖 首先我們通過pip安裝html插件 >  pip install pytest-html 運行的命令就是在正常的命令後邊加上     --html=test.html  也就是 > pytest --html=test.html     這樣生成的報告 test.html  就會自動生成在同級目錄下,如果想指定目錄的話也可以: > pytest --html=./repor
相關文章
相關標籤/搜索