Upgraded to Xcode 7.2 and my UI Tests Pass without running

淺唱寂寞╮ 提交于 2019-12-11 10:10:01

问题


I just upgraded to Xcode 7.2 and now my tests succeed without even running. As soon as it finishes building, it gives me the "Test Succeeded" message and the console shows no output.

Is anyone else having this issue?

UPDATE: So it looks like it's not working only on one specific device, which is an iPAD AIR 2, and the UI Test platform doesn't even install onto the device. It doesn't work on 2 separate machines both with Xcode 7.2.


回答1:


The issue was resolved when I updated my device to iOS 9.2. I don't see why this could've been the issue seeing all my other devices managed to run tests fine on 9.1.




回答2:


I had the same issue with Xcode 7.3.1 and iOS 9.3.1. Rebooting the iOS device solved my problem.



来源:https://stackoverflow.com/questions/34184265/upgraded-to-xcode-7-2-and-my-ui-tests-pass-without-running

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!