-
Notifications
You must be signed in to change notification settings - Fork 738
"Failed to run tests" but no helpful information given #76
Comments
Hrm - can you paste in the output for us? |
@fpotter Whoops, I should have pasted that in. Here you go:
Of note I'm using the HEAD version of |
I'm running into this issue as well. It seems to happen if I add MessageUI.framework to my target. When I remove that library, the tests run just fine. Xcode: Version 4.6.3 (4H1503) |
So my issue was that my application was crashing when it was launched. Adding MessageUI.framework is what exposed it. The crash ended up being because of a class name collision. You can easily watch the OS console while running xctool to see if your app crashes. However, I do hope that xctool can identify this and log something more helpful to the user. Something like even as simple as
|
0.1.14 now has much better reporting when application tests fail to run. If the tests never start, xctool should give the the stdout/stderr from the test host so you know what's going on. |
I'm using issue #16 as a guide to get my project (which uses CocoaPods and Kiwi) to have tests running on the command line so I can have CI useful.
Running with the following command does all of the pre-test test successfully but fails when attempting to run the app in the simulator.
xctool -workspace MyApp.xcworkspace -scheme MyApp ONLY_ACTIVE_ARCH=NO -configuration Debug test
Where I can I look for reasons why the test suite failed to run?
The text was updated successfully, but these errors were encountered: