What are the best unit testing tools for iphone apps?

I wonder which tool is considered the best / standard and what pros / cons are for the various module testing tools that are available. Tools I know so far about:

Of course, I would like to know about what I missed.

+6
objective-c iphone unit-testing
source share
2 answers

Google Toolkit for Mac (GTM) is an OCUnit add-in. It adds more assert macros and also supports user interface testing. OCMock is how you can include mock objects in your device’s testing environment.

I recently created a project template and a file for creating static libraries, which also has built-in support for unit testing. You can read about it:

http://www.codingventures.com/2009/04/xcode-templates-for-iphone-static-libraries-with-unit-testing/

And the templates are located at:

http://github.com/keremk/iphone-static-library-project-template/tree/master

The file template gives you an easy way to add the unit test class with all the necessary OCMock and GTM / OCUnit headers.

+4
source share

You may be interested in the answers to this question: Do OCUnit and OCMock work on the iPhone SDK? . Some links for short:

+1
source share

All Articles