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]#

posted @ 2020-08-03 15:27  峡谷恶霸  阅读(146)  评论(0编辑  收藏  举报