Re: Single unit test from within XCode?
Re: Single unit test from within XCode?
- Subject: Re: Single unit test from within XCode?
- From: Chris Hanson <email@hidden>
- Date: Sun, 13 Jan 2008 12:22:15 -0800
On Jan 13, 2008, at 10:02 AM, Timothy Reaves wrote:
Has anyone ben able to get XCode to execute a single ObjC unit
test? I'd appreciate any info on this. Thanks.
Assuming you're using OCUnit, the easiest way to do this is to set up
an executable in your project for otest or your application just as if
you were going to debug your unit tests. Add the pair -SenTest
ClassName/methodName to its arguments so it will run a particular test
method in a particular test case class, or -SenTest ClassName to run
all test methods in that test case class. Then make the executable
your active executable and run it.
-- 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