I finished my project on an iPhone dev at uni WITHOUT doing "useful" unit testing (did some simple ones just to put on my report).
I was looking at the apple's unit testing suits (logic and application tests) but ended up using iPhoneUnitTesting from google-toolbox-for-mac, which I found more documented and easy to get started with Java's unit testing knowledge.
I have a series on iPhone Unit Testing. Initially, I explored OCUnit (Xcode), Google Toolbox for Mac (GTM) and GHUnit. Testing wise, I prefer the Xcode built in unit tests (OCUnit). Visually I prefer GHUnit for the GUI interface. Xcode 4's testing support is much improved from Xcode 3.
If you need a GUI on the device for testing, you can add GHUnit later, since it is built on top of GTM and can run OCUnit and GTM unit tests.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With