What is the best Unit testing framework for iPhone?

What is the best unit test framework for iPhone?

Jonah Williams at Quora Visit the source

Was this solution helpful to you?

Other answers

OC unit can be used for tracking functionality issues as well as Unit Test case automation.A lot of diagnostic information is available for mobile devices now, which helps the developer assess the application on many functional and non functional criteria. iPhone OCUnit can be used for tracking functionality issues as well as Unit Test case  automation Android JUNIT can   be used for Unit Test case automation. Commands for monkey testing are   supported hence various Test cases which include Black Box (Device) Testing   can be done on emulator without actual need of device There are various troubleshooting abilities provided by SDKs and third party tools for all mobile platforms. I came across a blog which lists down all the best available testing frameworks for Mobile devices. http://blog.harbinger-systems.com/2011/02/trouble-shooting-mobile-applications/

R. Chaitanya

This isn't a framework, but I have written a library that you use with OCUnit to make tests a little more readable.  My library is called NSUnit, because its more for use with the foundation classes, where I feel like OCUnit (despite the name) is very C-like in its syntax. Here is an example of an NSUnit test: - (void) test_ArrayWithMultipleElementsLessThanRValue_doesNotFail {     NSArray *the_array = [NSArray arrayWithObjects:@12, @13, @14, nil];         [Assert that:the_array areAll:[Less than:@15]]; } The source is available here: https://github.com/jacksonh/NSUnit

Jackson Harper

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.