• 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 a Cocoa Bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit Testing a Cocoa Bundle


  • Subject: Re: Unit Testing a Cocoa Bundle
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 07 Feb 2009 12:59:53 -0800

On Feb 6, 2009, at 9:27 PM, email@hidden wrote:

Is there any way to Unit Test and debug ( debug in the unit test execution ) a Cocoa Bundle?

The Cocoa Bundle will be invoked from a widget,

You can write an application that loads the bundle you want to test in its application delegate's -applicationDidFinishLaunching: method, and interacts with the bundle in an appropriate way.


Then you can use your application as the Test Host for your test bundle.

  -- Chris

_______________________________________________
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


References: 
 >Unit Testing a Cocoa Bundle (From: email@hidden)

  • Prev by Date: method name syntax highlighting
  • Next by Date: Carbon vs. Cocoa
  • Previous by thread: Unit Testing a Cocoa Bundle
  • Next by thread: Booleans not being set
  • Index(es):
    • Date
    • Thread