简体   繁体   English

在xcode中进行集成测试后如何保持模拟器打开

[英]How do you keep simulator open after integration tests in xcode

I'm doing integration testing with xcode and sometimes I want to test something out manually after the integration test finished running, but the simulator always closes after the tests are done. 我正在用xcode进行集成测试,有时我想在集成测试完成运行后手动测试某些东西,但是模拟器总是在测试完成后关闭。 Is there any way to keep the simulator open and running after the test finished? 测试完成后,有什么方法可以使模拟器保持打开和运行状态吗?

Something slightly better than for (;;); for (;;);稍微好一点 would be nice 会好的

All you need to do is uncheck "Stop when Run Completes" in Instruments. 您需要做的就是在Instruments中取消选中“运行完成时停止”。

仪器脚本选项屏幕截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM