When the original iOS SDK was released, it lacked unit testing capabilities. So Apple has brought back the OCUnit unit test solution in iOS SDK version 2.2.
OCUnit is a testing framework for C- Objective in the Mac OS. The biggest advantages of OCUnit framework arethe tight integration into XCode development environment.