How can I get Xcode 7 to keep around the logging output from the UI Test target?

与世无争的帅哥 提交于 2019-12-04 17:42:13

问题


I've started using the UI Test features of Xcode 7, and when I run a test, I get the output from testing showing up in the content pane of the debugging area.

However, as soon as the testing is finished, that output gets replaced by the logging from the application itself.

Is there a way to keep both sets of logged data visible?

Adding an example, of what I want to see:


回答1:


Might not completely solve your issue: I was having a similar problem (and found your question!) and just found out that you can select which logging output is shown in the Debug Area:

Maybe, if you combine this with a cleverly inserted test breakpoint you might (partially) achieve what you were looking for ;-)



来源:https://stackoverflow.com/questions/33159648/how-can-i-get-xcode-7-to-keep-around-the-logging-output-from-the-ui-test-target

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