Can't run on the emulator 0 scenarios, 0 steps, 0m0.000s

1,242 views
Skip to first unread message

Jo

unread,
May 20, 2013, 4:32:03 PM5/20/13
to calabash...@googlegroups.com
Hi

I am new to Calabash.  I followed the instruction on setting up the calabash android (https://github.com/calabash/calabash-android).

Environment:

Windows 7 Professional
Ruby 1.9.3p392
Cucumber 1.3.1
Calabash-android 0.4.4
My emulator running on port 5554

I have my feature written and step definitions.  I am able to run it in cucumber (cucumber add.feature) and it gives me

1 scenario (1 undefined)
7 steps (3 skipped, 3 undefined, 1 passed)
0m0.014s


The app is already installed in the emulator
when I run it in calabash-android (calabash-android run mytest.apk -v) I get the foll. and nothing gets executed.

C:/Ruby193/bin/ruby.exe -S cucumber -v MAIN_ACTIVITY=com.x.x.x APP_PATH="c:/Users/jo/.android/Downloads/mytest.apk" TEST_APP_PATH="test_servers/780422bdxxxxxx_0.4.4.apk" TEST_SERVER_PORT=34777
Code:
    * features/step_definitions/mytest_steps.rb

Features:
Oarsing feature files took 0m0.001s

0 scenarios
0 steps
0m0.000s

Thank you in advance for your help
Jo

Jonas Maturana Larsen

unread,
May 20, 2013, 5:16:27 PM5/20/13
to calabash...@googlegroups.com
Did you put the add.feature into the features folder?



--
You received this message because you are subscribed to the Google Groups "calabash-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calabash-andro...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jo

unread,
May 20, 2013, 8:03:10 PM5/20/13
to calabash...@googlegroups.com
Ha!  Thnx Jonas.  I put the feature file in the ~/.android directory :(  and the step definition under ~/.android/features/step_definitions/ directory.  Once I moved it over to the features directory, it worked!

Thank you so much.
Jo

Abaranji Pasupathy

unread,
Jul 26, 2017, 6:14:27 AM7/26/17
to calabash-android
Thanks it works . 
Reply all
Reply to author
Forward
0 new messages