• 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
Re: Unit Testing Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit Testing Frameworks


  • Subject: Re: Unit Testing Frameworks
  • From: Rob Keniger <email@hidden>
  • Date: Mon, 8 Dec 2008 10:48:58 +1000


On 08/12/2008, at 8:25 AM, Thaddeus Cooper wrote:
The framework builds correctly -- no warnings or errors, but the test cases do not get built automatically. I then switch my active target to my test bundle (creatively named Tests), and do a build and get the following error dump (note I've highlighted the line I believe to be the major error):


2008-12-07 14:15:35.042 otest[42098:80f] The executable for the test bundle at /Users/cooper/src/Sections/build/Debug/Tests.octest could not be found.


It looks like you have not configured the BUNDLE_LOADER configuration directive in your Tests target's settings to point to your executable.

You need to make sure that the bundle loader is set to $ {BUILT_PRODUCTS_DIR}/YourAppName.app/Contents/MacOS/YourAppName for the test target to be able to launch your app and run the tests.

--
Rob Keniger



_______________________________________________

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: Unit Testing Frameworks
      • From: Thaddeus Cooper <email@hidden>
References: 
 >Unit Testing Frameworks (From: Thaddeus Cooper <email@hidden>)

  • Prev by Date: Re: How to use NSWorkspace?
  • Next by Date: Re: NSPredicateEditor and date comparisons
  • Previous by thread: Fwd: Unit Testing Frameworks
  • Next by thread: Re: Unit Testing Frameworks
  • Index(es):
    • Date
    • Thread