![]() |
|
|
|
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).
Install the different components of OCUnit. OCUnit is flexible and does not impose any specific organization. On XCode, you can for instance simply:
The practical way of using OCUnit is simply to implement test cases in subclasses of SenTestCase. The framework will take care of everything else, and you can run these tests from a command line: % otest MyFramework.framework or directly from Xcode (or from ProjectBuilder for older environments).
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-2004, Sen:te (Sente, SA). All rights reserved.