Reputation: 42594
When debugging test case failures it would be very useful if the execution would automatically break upon test case failure, so that I could directly investigate the failure. So essentially a break point that triggers when an assertion fails.
Does anyone know if there is an easy way to do that?
Upvotes: 1
Views: 121
Reputation: 130132
There are many solutions how can you achieve that, to list a few:
[SenTestCase failWithException:]
failWithException:
in a SenTestCase
Upvotes: 2