Re: Automated unit-testing for iOS?
Re: Automated unit-testing for iOS?
- Subject: Re: Automated unit-testing for iOS?
- From: Jens Alfke <email@hidden>
- Date: Thu, 01 Sep 2011 17:48:33 -0700
On Sep 1, 2011, at 5:40 PM, Chris Hanson wrote: For OS X targets you can override this build setting via the xcodebuild command line (by passing TEST_AFTER_BUILD=YES) and use that to run your tests on a continuous integration server.
I tried this, but I couldn’t find a way to get xcodebuild to build the unit-test bundle. The way Xcode 4 sets it up, it doesn’t have its own scheme (it’s added to the app’s scheme). If I make a new scheme and try to add just the unit-tests target, Xcode seems to get kind of confused and tries to add the app target too, and I can’t get the result to do anything useful.
I don't know if there's a way to do that for iOS, sorry.
It sounds like the consensus is that there isn’t a supported way to do it. (I’m near to a solution, but it involves a tool that calls into a private framework to launch the simulator…) Any idea whether a Radar has been filed?
—Jens |
_______________________________________________
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