creating unit tests
creating unit tests
- Subject: creating unit tests
- From: "William Zumwalt" <email@hidden>
- Date: Sat, 7 Jul 2007 22:25:34 -0500
I am getting into writing unit tests w/ xcode and have just a few questions.
My program is in cocoa, yet there are several *.mm files where I make calls
to a c++ *.dylib file. So when creating my test target, do I select Cocoa >
Unit Test Bundle or Carbon > Unit Test Bundle? I've never used carbon and I
know I'd like to write test for both my c++ and cocoa code.
I was thinking of creating one SenTestCase class and then creating Suites
from within that, to organize all my tests from this one class. And what
does Sen mean?
Also, I did the tutorial for creating a unit test w/ the
TemperatureConverter project and at one point, the instructions said I had
to drag *.m files from the Classes folder to my Test Cases folder under
'Groups and Files' of XCode. Why did I have to do that when I want to test
project code and leave it under my project folder (Classes)?
Any help much appreciated.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden