Objective-C Unit Testing
Objective-C Unit Testing
- Subject: Objective-C Unit Testing
- From: Seth Willits <email@hidden>
- Date: Mon, 29 Mar 2010 15:14:52 -0700
I have a Cocoa app that I'm trying to add a unit testing target to. I followed the steps in the Unit Testing guide to create a dependent target, but I'm having link errors whenever I try to use a class from my app.
According to this guide by creating a dependent target, I don't need to add any of the code from the app into the testing target. It'll just link correctly at runtime. Well... it's failing.
I'm hoping someone can tell me what the missing step to getting this to work is. I added my app's target as a dependency in the testing target, set the bundle loader and test host build settings, created a test case, and tried to instantiate an object of a class included in my app, and I get a link error saying that the class's symbol can't be found.
Any ideas?
--
Seth Willits
http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/UnitTesting/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden