使用简单的pytest-html插件只需要安装pip3 install pytest-html 运行命令pytest test.py --html=./report.html,指定输出的文件为report.html报告.
確定! 回上一頁