pytest四(生成html报告)
一、pytest-html
pytest-HTML是一个插件,pytest用于生成测试结果的HTML报告。兼容Python 2.7,3.6
2.pip安装
$ pip install pytest-html
3.执行方法
$ pytest —html=report.html
pytest-HTML是一个插件,pytest用于生成测试结果的HTML报告。兼容Python 2.7,3.6
2.pip安装
$ pip install pytest-html
3.执行方法
$ pytest —html=report.html