pip install pytest-html 安装插件
命令行执行: pytest --html=report_name.html (report_name是存放路径及名称)
报告样式:
(二十八)pytest的报告产出
原文:https://www.cnblogs.com/wx921308494/p/11966777.html