• 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: How to debug during Unit Test (otest)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug during Unit Test (otest)


  • Subject: Re: How to debug during Unit Test (otest)
  • From: Andre <email@hidden>
  • Date: Wed, 28 Jun 2006 18:44:34 -0700


Chris Hanson wrote:

On Jun 28, 2006, at 2:11 PM, email@hidden wrote:

I'm having some trouble with failing tests, I would like to set-in some code during testing to see what is failing, but I can't.
NSLog by iteslf also doesn't seem to print out anything unless an exception is thrown at test time...


How can I "debug" my test in a normal fashion, other than shooting in the dark?

Using Google to search for "debug Cocoa unit tests" gives me as the top two hits:


  Xcode 2.1: Unit Testing Cocoa Applications
  http://chanson.livejournal.com/120263.html

  Xcode 2.1: Debugging Cocoa application unit tests
  http://chanson.livejournal.com/120740.html

I also posted articles on setting up and debugging Cocoa framework unit tests.
Awesome. I wish that was in the Apple Docs. (I also searched Google, but I guess I missed your articles)
Chris, Tim, a thousand thank you(s).


Andre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to debug during Unit Test (otest) (From: email@hidden)
 >Re: How to debug during Unit Test (otest) (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Implementing a TCP port listener in Cocoa
  • Next by Date: Re: Terminate File Copy
  • Previous by thread: Re: How to debug during Unit Test (otest)
  • Next by thread: Providing citation data for a text view
  • Index(es):
    • Date
    • Thread