> On 14 Jul 2015, at 10:24, Roland King <[email protected]> wrote: > > Thought I’d write some unit tests for a framework I’ve been working on for a > while. When that was originally added a test target was created with it with > the usual two template test methods. > > Out of the box that doesn’t even work. Running ‘Test’ or clicking the run > single test button next to either of the two tests builds then waits a few > seconds and gives me ‘Test Failed’. The test navigator shows no tests were > actually run and if you find the Log button all you get is > > Test target MyTestTarget encountered an error (Early unexpected exit, > operation never finished bootstrapping - no restart will be attempted) > > That’s currently game over, I haven’t managed to get any further than that. I > did check the test General Settings and the Host Application is set to > ‘none’, but there’s nothing to set it to, there is no application, it’s a > framework. I believe you should be able to test frameworks. > > Any suggestions?
One extra piece of information - the framework I’m trying to test uses another framework of mine (generic library code). They’re all in the same workspace. That library framework also has default tests and they do work. This makes me wonder if the tests need to somehow embed the library framework. However I can’t even find a decent logfile showing what’s going on. _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
