Today I will post about install calabash-android in your machine. And for this I will use the project sample of this git repository: https://github.com/calabash/x-platform-example.git
You can do the download too if you don’t have a project neither an apk file.
Download and install ruby and RVM:
\curl -sSL https://get.rvm.io | bash -s stable --ruby
rvm install ruby 1.9.3
sudo gem install calabash-android
Install bundler unless you already have it installed:
gem install bundler
(or sudo gem install bundler)
Install gems in the
To run the iOS tests, make sure Xcode 5.1 is installed with command line tools.
bundle exec cucumber -p ios
To run the Android tests, ensure a recent Android SDK is installed, and that
- environment variable
ANDROID_HOMEis set to point to the sdk folder, for example
PS: This an example of a project with generated key and certificates, so you don’t need assign the app.
bundle exec calabash-android run prebuilt/Android-debug.apk -p android
This example you must to install bundle too. If you have any question or comment, just write below. Thank you again 🙂