![]() |
|
|
|
Your first step should be to install the SenTestingKit and associated tools and frameworks. This is described in the Installation guide.
Then, 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).
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 Project Builder.
OCUnitWWDC2002.rtfd , a (preprint) article written for Stepwise shows how testing can be integrated with ProjectBuilder under Mac OS X.
You can have a look at some of the Example projects.
http://www.sente.ch/software/ocunit/
feedback@sente.ch
©Copyright 1994-2002, Sen:te (Sente, SA). All rights reserved.