I'm using the built-in Unit Testing mechanism in Xcode (OCUnit/SenTest).
I find it very upsetting that whenever there's an exception thrown during a test, instead of moving on and running the next tests, Xcode crashes the run (stopping the debugger on the line of the thrown exception, and marks the tests as successful after crashing!).
Is there any way of making the test target just mark the test that raised an exception as failed and move on?
BTW, please don't bother telling me to move to GHUnit, I know it exists but I'm stubborn and want to work with something that is built-in to Xcode.
Turns out as @Jon Reid said, this was a bug in iOS simulator, but it was fixed for iOS 5.0 simulator!
So it seems the solution is simply to run the tests only on the iPad/iPhone 5.0 simulator on Xcode 4.2