pytest command line

 

 

 

pytest -v -s --last-failed --alluredir=report/xml

 -v 打印详细的信息

 -s 输出print打印信息

 --last-failed 只执行上次失败的用例

 --alluredir=report/xml 输出alluredir 到 report/xml

posted @ 2023-05-22 22:19  helentester  阅读(8)  评论(0编辑  收藏  举报