I’m using the Google Toolbox for Mac extensions to unit test my iPhone application. I highly recommend them. Integration with XCode is great. E.g. failing assertions in the tests are flagged directly in the code just like compile-time errors right next to the failing assertion. (If you are working on SDK 3.0 beta, you should get this patch to avoid the “-[UIApplication terminate]: unrecognized selector sent to instance” exception when the unit test application quits. terminate was replaced with terminateWithSuccess ins SKD 3.0). >> more…