iphone - SenTesting stop test after first STAssert fails -


is there way stop execution of ios unit test once first stassert fails?

for example if have multiple stasserts:

stasserttrue([myobject succeeded], @"failed"); stassertnotnil(foo,@"bar"); 

i love if xcode stopped executing test after first 1 fails. way this?

if have exception breakpoint set exceptions, xcode throw debugger on first failed test. if you're running tests manually within xcode might acceptable.

to setup exception breakpoint within xcode 4+

  1. view > navigators > show breakpoint navigator
  2. click + button @ bottom left of breakpoint navigator window, choose "add exception breakpoint"
  3. click "done" in popover appears.

xcode break debugger on exceptions encountered @ application runtime.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -