Re: Logic Testing on iOS devices is not supported.
Re: Logic Testing on iOS devices is not supported.
- Subject: Re: Logic Testing on iOS devices is not supported.
- From: Joar Wingfors <email@hidden>
- Date: Sun, 08 Dec 2013 21:25:39 -0800
There are, in the vocabulary of SenTestingKit/OCUnit or XCTest, two types of tests: Logic tests and Application tests. The difference can be said to either depend on the type of code being tested (code in a library vs. code in an application binary), or how these tests are run (injected into otest/xctest or an application process). In either case, neither SenTestingKit/OCUnit or XCTest supports Logic tests on iOS Device destinations. The best workaround for that limitation would, as you figured out, be to create a slim wrapper app to serve as a host for your tests.
Joar
On 7 dec 2013, at 23:50, Roland King <email@hidden> wrote:
> I just started to build a 64bit version of one of my libraries, this is Xcode 5.x of course, and wanted to run the unit tests which I've carefully ported over to XCTest. As some of the functions do bit twiddling and operate on large integers of course I wanted to run on the device, make sure I have byte ordering issues correct and I'm using correct types. So I plugged a device in and ran the tests and got
>
> "Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator."
>
> That rather defeats the point. The simulator is x86, I want to run the tests on arm64
>
> Now I thought the whole video at WWDC about testing showed tests being performed by robots on actual devices connected to the testing box by cables. So clearly unit tests DO work on devices. What could I have done wrong here?
> _______________________________________________
> 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
_______________________________________________
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