setup cucumber and ios connection/one issue i met
上一篇 /
下一篇 2014-08-14 16:16:14
/ 个人分类:Cucumber
good link to learn cucumber:https://github.com/calabash/calabash-ios/wiki/01-Getting-started-guide
this is very useful link to setup env for cucumber and ios connection:
http://www.moncefbelyamani.com/ios-automated-testing-with-calabash-cucumber-ruby/
遇到一个很郁闷的问题,block了我2天,但是原因却非常简单。
命令行启动cucumber运行脚本后,simulator直接退出,console中显示
=====
Unable to start. Make sure you've set APP_BUNDLE_PATH to a build supported by this simulator version
Calabash::Cucumber::Launcher::StartError: Time out waiting for UIAutomation run-loop to Start.
=====但是app确实已经生成了。
查阅了好多资料都没有解决我的问题。最后。。。最后。。。
是feature/support/env.rb中有人设置了:
ENV["NO_STOP"] = "1"
ENV['SCREENSHOT_PATH']="./features/config/screenshots/"
ENV['DEVICE_TARGET']="device"
ENV['DEVICE_ENDPOINT']="http://192.168.2.108:37265"
ENV['TIMEOUT']="60"
去掉这里的环境信息,运行没有问题。NND浪费我2天时间。
不要骂我小白。我也是cucumber菜鸟。
收藏
举报
TAG: