Unit Testing

From GNUstepWiki
Revision as of 19:37, 9 November 2009 by Martin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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