(Let's assume that I have good reasons not to remove my NSAssert() checks in my code just because I'm also doing Unit testing.)
In my unit testing code, I like to make sure that a NSAssert in my code hits (asserts) when I invoke it. I therefore use the STAssertThrows() macro when calling the code that does the assertion.
The problem is: Despite the documentation saying that NSAssert would throw an exception, the unit test run will stop with an error msg saying the the app crashed.
This is with SDK 3.1.3 in the Simulator.
Is this a bug in the framework or is there something I can do to make this work better, i.e. so that NSAssert throws a proper exception that the unit test macro can catch?