• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
creating unit tests
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: creating unit tests
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: How to keep creation/modification date of a (Core Data) object?
  • Next by Date: Re: creating unit tests
  • Previous by thread: Re: Totally stumped on extern NSString
  • Next by thread: Re: creating unit tests
  • Index(es):
    • Date
    • Thread