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
相关文章
相关标签/搜索