cd  F:\python_11\teach01\testcase
pytest -sq testLogin.py --alluredir=../report/tmp
allure generate ../report/tmp -o ../report/report --clean
操作:双击执行api_run。bat文件就可以查看。
注意:只能在pycharm中查看index.html文件。

 

 

 

posted on 2020-12-23 15:12  fxh嘟嘟  阅读(582)  评论(0编辑  收藏  举报