httprunner踩坑记1

使用httprunner编写测试用例后,在执行命令:hrun testcases --html=reports/report.html ,

 

 cmd命令没报错,但是查看报告,发现日志报错

 

 查阅有关资料后,发现命令改成:pytest testcases --html=reports/report.html,可以正常显示,可能是httprunner的bug

 

 

 

posted @ 2021-05-08 14:13  xqy2020  阅读(62)  评论(0)    收藏  举报