has anyone found a solution to this?
It's quite frustrating, we found a way around this by executing bundle exec cucumber on previous versions of calabash where you had to specify the target= etc. but now with calabash android run it doesn't like it, for example:
cucumber -c PACKAGE_NAME=package TEST_PACKAGE_NAME=uk.co.package_test APP_PATH=/Users/build/.jenkins/jobs//Users/hamili05/Documents/workspace/example/target/example.apk TEST_APP_PATH=features/support/Test.apk TEST_SERVER_PORT=34777 --t ~@wip --t ~@manual
exit $?
The above WORKED and fired the failed build emails, but cant figure out a way on the latest calabash-android build (not pre)
It seems like there is some conflict between cucumber and calabash-android:
rm: /Library/Ruby/Gems/1.8/gems/calabash-android-0.1.0/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions_update: No such file or directory
/Users/hamili05/Documents/workspace/app-integration-test/vendor/calabash-android-0.2.22/lib/calabash-android/calabash_steps.rb:1: warning: already initialized constant WAIT_TIMEOUT
/Users/hamili05/Documents/workspace/app-integration-test/vendor/calabash-android-0.2.22/lib/calabash-android/calabash_steps.rb:2: warning: already initialized constant STEP_PAUSE
/Users/hamili05/Documents/workspace/app-integration-test/vendor/calabash-android-0.2.22/lib/calabash-android/steps/list_steps.rb:29: syntax error, unexpected tIDENTIFIER, expecting kEND
response['children'] each do | view |
^ (SyntaxError)
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/rb_support/rb_language.rb:129:in `load'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/rb_support/rb_language.rb:129:in `load_code_file'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/runtime/support_code.rb:171:in `load_file'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/runtime.rb:174:in `load_step_definitions'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/runtime.rb:40:in `run!'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Library/Ruby/Gems/1.8/gems/cucumber-1.1.4/bin/cucumber:14
/usr/bin/cucumber:19:in `load'
Cheers,
Ian