PDA

View Full Version : Unit Testing for Objective-C?




MorphingDragon
May 21, 2011, 09:41 PM
What Unit Testing frameworks are there for Objective-C?



jiminaus
May 22, 2011, 02:35 AM
There's OCUnit, comes with XCode. See Apple dev note Test Driving Your Code with OCUnit (http://developer.apple.com/tools/unittest.html), or the website http://www.sente.ch/software/ocunit/.

You might also want to look at http://stackoverflow.com/questions/33207/what-is-the-best-way-to-unit-test-objective-c-code.