unit testing - Python nose framework: How to stop execution upon first failure -


It seems that if a test case fails, the nose will try to execute the next testcases. How can I make a nose to eliminate all the execution on the first error in any testcase? I tried sys.exit () but gave me some ugly and long message about it

one Options for nose:

  -x, - Stop the first error or trials that run after failure  

Do you need it?

The following links can help you with all the options that are available for nosetests.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -