Is it possible to run Unit tests in Xcode 5 with XCTest for libraries?
Is it possible to run Unit tests in Xcode 5 with XCTest for libraries?
- Subject: Is it possible to run Unit tests in Xcode 5 with XCTest for libraries?
- From: David Hoerl <email@hidden>
- Date: Mon, 24 Feb 2014 17:08:18 -0500
Under Xcode 4, I developed a static library and wrote a series of tests
for it. Now, many months later and under Xcode 5, I'm trying
unsuccessfully to get any of them to run. All I can seem to get in the
console is:
Program ended with exit code: -1
I tried the new Test pane and CMD-U, no difference.
So I figured I'd hosed something up, and created a totally new static
library project from scratch, added a single method to the generated
class to add two numbers and return the result, then wrote a single test
case to see if 1 + 2 == 3.
Same result as above. I also added an initialize method to the text case
and the library class, but they are not called. I added an exception
breakpoint, its never hit.
I googled but found nothing relevant.
_______________________________________________
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