![]() |
|
|
|
If you don't already know about Unit Testing, you may want to have a look at this Introduction, and other material available on the web: Simple Smalltalk Testing:With Patterns (Kent Beck); Test Infected: Programmers Love Writing Tests (Kent Beck, Erich Gamma). Also have a look at Test Driving Your Code with OCUnit on Apple's developer website.
Install the different components of OCUnit. You have a choice to install in the root directory of the boot volume or in your home directory. Both of these can be downloaded from http://www.sente.ch/software/ocunit/
The practical way of using OCUnit is simply to implement test cases in subclasses of SenTestCase. The framework will take care of everything else.
OCUnitWWDC2002.rtfd, an article written for Stepwise shows how testing can be integrated with ProjectBuilder under Mac OS X (the same can be done with Xcode).
You can have a look at some of the Example projects.
Acknowledgements
License
Release Notes
http://www.sente.ch/software/ocunit/
feedback@sente.ch
©Copyright 1994-2005, Sen:te (Sente, SA). All rights reserved.