It seems that if a testcase fails, nose will attempt to execute the next testcases. How can I make nose to abort all execution upon the first error in any testcase? I tried sys.exit() but it gave me some ugly and lengthy messages about it
There is an option for nose:
-x, --stop Stop running tests after the first error or failure
Is this what you need?
Following link can help you with all the options available for nosetests. http://nose.readthedocs.org/en/latest/usage.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With