Greetings,
I have calabash-android 0.0.8 installed. calabash-android does not
launch the app in the emulator and I am wondering if there is
something I am doing wrong?
This is what I am doing:
# start the emulator
emulator -avd Google_API_Level_8 &
# clean and create debug builds
ant clean
ant debug
# build and run test server
calabash-android-build
calabash-android-run
Then I get the following:
2012-05-19 21:36:18 - Is first scenario - reinstalling apps
2012-05-19 21:36:18 - Uninstalling: com.my.app.test
2012-05-19 21:36:19 - Success
2012-05-19 21:36:19 - Uninstalling:
com.my.app
2012-05-19 21:36:21 - Success
2012-05-19 21:36:21 - Installing: features/support/Test.apk
2207 KB/s (316360 bytes in 0.139s)
2012-05-19 21:36:25 - Success
2012-05-19 21:36:25 - Installing: /Users/NNN/Documents/Clients/AAA/
myapp/app/bin/myapp-debug.apk
2054 KB/s (442881 bytes in 0.210s)
2012-05-19 21:36:29 - Success
2012-05-19 21:36:29 - Starting test server using:
2012-05-19 21:36:29 - /Users/NNN/Documents/android/platform-tools/adb
shell am instrument -w -e class
sh.calaba.instrumentationbackend.InstrumentationBackend
com.my.app.test/android.test.InstrumentationTestRunner
junit.framework.TestSuite$1:
Test results for InstrumentationTestRunner=
2012-05-19 21:36:31 -
2012-05-19 21:36:31 - Got exception:end of file reached. Retrying!
Got exception:end of file reached. Retrying!
Got exception:end of file reached. Retrying!
Got exception:end of file reached. Retrying!
Got exception:end of file reached. Retrying!
2012-05-19 21:37:31 - Connection established
2012-05-19 21:37:31 - Action: press - Params: Login
2012-05-19 21:37:31 - Error communicating with test server: end of
file reached
When I press "Login" # features/
step_definitions/press_button_steps.rb:17
end of file reached (EOFError)
./features/support/hooks.rb:24:in `readline'
./features/support/hooks.rb:24:in `block in performAction'
/Users/rdegraci/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/
timeout.rb:58:in `timeout'
./features/support/hooks.rb:21:in `performAction'
./features/step_definitions/press_button_steps.rb:18:in `/^I
press "([^\"]*)"$/'
features/login_dummy.feature:3:in `When I press "Login"'
Then I see "Enter your email and password to login!" # features/
step_definitions/assert_steps.rb:5
2012-05-19 21:37:31 - Closing connection to test