上下文如何判断蟑螂不会在模拟器暂停时暂停......慢慢地运动?
我有一台运行Xcode的Mac Mini,并运行一系列Cucumber测试并运行Calabash。
问题
他们失败,因为模拟器需要很长(可能50秒),以启动和运行。我试图通过timeout
启动选项(按照文档将它们传递给我的电话前),但我仍然失败,并且我还没有理解如何在calabash-ios console
模式下使用启动选项。
我通过源找到的东西没有记录here的希望读书。
其实我从this question取得任何进展:
calabash-ios console
> Running irb...
> irb(main):001:0> start_test_server_in_background(:timeout => 6000)
> RunLoop::Xcrun::TimeoutError: Xcrun timed out after 30.30 seconds executing
> xcrun instruments -s templates
> with a timeout of 30
我可以完全禁用启动超时,并我将如何做到这一点(保存编辑蠡源...)?
我相信这是http://stackoverflow.com/questions/24075107/how-to-pass-in-timeout-for-cucumber-command-as-in-start-test-server的副本-in-backgroun至于添加启动选项,您可以像这样将它们放在前面“DEVICE_TARGET ='iPhone 6(9.1)'DEBUG = 1 calabash-ios console”。这也花了我一些时间并帮助弄清楚。 – Lasse