Difference between revisions of "Unit Testing"

From GNUstepWiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 19:37, 9 November 2009

Unit Testing is the practice of writing code that tests the code in your application and quickly determines if the code is working properly. The concept of unit testing is implemented in libraries for most modern languages, including Objective-C.

Common Frameworks

There are several unit testing frameworks for Objective-C projects.

  • OCUnit, built in to Apple Xcode and open sourced. Version 27 (pretty old) has been tested with GNUstep
  • UnitKit, common for Mac OS X until OCUnit was built into Xcode. Now ported to Etoile.
  • ObjCUnit, a Mac OS X framework that has been ported to GNUstep.
  • TestKit, an inactive framework

See also

  • Mock objects