Re: NSLog doesn't work with OCUnit
Re: NSLog doesn't work with OCUnit
- Subject: Re: NSLog doesn't work with OCUnit
- From: Frank Midgley <email@hidden>
- Date: Mon, 20 Jun 2005 17:43:20 -0500
On Jun 20, 2005, at 4:57PM, Corbin Dunn wrote: You simply use "otest" as the host to run your application. Steps: 1. Add a new executable to your project -- select otest in /Developer/Tools/otest 2. Double click on the executable, and add two run params: a. -SenTest Self b. $(BUILT_PRODUCTS_DIR)/YourBundleName.octest
This makes it REALLY easy to debug OCUnit tests. You can debug an individual test suite with:
-SenTest UnitTestClassName
or an individual test case with:
-SenTest UnitTestClassName/testMethodName
But that only loads the test bundle, not your application. So it fails to find any of the classes you are testing. At least that's what happened to me...
|
_______________________________________________
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