天天看點

Httprunner運作自己建立的demo用例,卡在 httprunner.cli:main_run:56 - start to run tests with pytest. HttpRunner v

最近開始學習httprunner實作接口自動化,發現給奇葩的問題,奇迹般地好了......

沒錯,就是卡在這個頁面一直沒動靜了,嘗試了幾次都是卡在這裡......

Httprunner運作自己建立的demo用例,卡在 httprunner.cli:main_run:56 - start to run tests with pytest. HttpRunner v

 百度不到任何的解釋,于是想着是不是跟系統環境有關系?換了一台機器,重新安裝httprunner運作demo用例,竟然是正常的!

試了試把卡主的機器關機重新開機,再執行,竟然好了!簡直不敢相信,初步推測是我這台機器上本來就安裝了httprunner,然後我最近又更新了一版,更新之後某個地方需要重新開機才能生效。

不管怎麼說,重新開機就好了,希望對下次遇到同樣問題的同學有所幫助,正常執行完的結果:

Httprunner運作自己建立的demo用例,卡在 httprunner.cli:main_run:56 - start to run tests with pytest. HttpRunner v

繼續閱讀