Ok, so it's the expected behavior. Phooey! I then have two questions:

1) How do I "inject [my] tests into [my] application?"

You shouldn't need to. They're being injected automatically as part of the way the Xcode OCUnit test targets work.

Try printing out [NSBundle allBundles]. Your application bundle should be in there somewhere, it's just not the mainBundle.


2) Can I modify the ocunit target somehow so that the Bundle is where I'd expect it to be?

No. The main bundle will always be the bundle of the application running the tests, which is otest.

+Melissa


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to