PanicButton android app automation
To run your test:
calabash-android run <apk>
Calabash-android will install an instrumentation along with your app when executing the app. We call this instrumentation for "test server". The "test server" has special permission that allows it to interact very closely with your app during test. Everytime you test a new binary or use an upgraded version of calabash a new test server will be build. The test server is an intrumentation that will run along with your app on the device to execute the test.
You need to have Ruby installed. Verify your installation by running ruby -v in a terminal - it should print "ruby 1.8.7" (or higher).
If you are on Windows you can get Ruby from RubyInstaller.org
You should have the Android SDK installed and the environment variable ANDROID_HOME
should be pointing to it.
You also need to have Ant installed and added to your path
Install calabash-android
by running
gem install calabash-android
- You might have to run
sudo gem install calabash-android
if you do not have the right permissions.