nosetest -x 遇到失败停止
作者:互联网
[root@esg-server-578 falut-test]# nosetests --help | grep fail -x, --stop Stop running tests after the first error or failure --pdb Drop into debugger on failures or errors --pdb-failures Drop into debugger on failures -d, --detailed-errors, --failure-detail failed asserts [NOSE_DETAILED_ERRORS] #1) to each test name output. Activate with --failed to rerun failing tests only. [NOSE_WITH_ID] --failed Run the tests that failed in the last test run. [root@esg-server-578 falut-test]#
标签:tests,578,--,failed,停止,nosetest,failures,test,失败 来源: https://www.cnblogs.com/jiaoyaxiong/p/13426524.html