Tuesday, 15 February 2011

unit testing - iOS: how to run XCTest on device? -


I am currently learning XCTest for the purpose of testing the unit. I was able to run the default template XCtest on the simulator without any problem I could do all the green tickcos in the test navigation scene. However, when I ran them as a hosted application on my device with the app, nothing happened. My app was launched on the device and did not seem to run Xtestes. I even put a break point in the test and it did not break. In the simulator, the app automatically closes when the test ends, however, while running on the device, my app was just running and never was placed on the stop, am I doing something wrong?

This message should be displayed by xCode while running XCest on physical device.

Logic test is not supported on iOS devices. You can run a logic test on the simulator.


No comments:

Post a Comment