Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Easy use of Calabash in RubyMotion projects
Ruby
tag: v0.9.136

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
scripts
.gitignore
LICENSE
README.rdoc
Rakefile
motion-calabash.gemspec

README.rdoc

motion-calabash

Allows RubyMotion projects to easily use Calabash iOS for automated acceptance testing.

For Calabash see: calaba.sh

Requirements

Installation

$ (sudo) gem install motion-calabash

Setup

  1. Edit the Rakefile of your RubyMotion project and add the following require lines.

    require 'rubygems'
    require 'motion-calabash'

Usage

motion-calabash introduces a calabash Rake-task namespace to your project. The namespace currently contains two tasks: run and console. The run task can be used to run your suite of Calabash tests on your development build. You can supply the following parameters sdk, device, os. You can also run console to start the Calabash console (device and os params apply too).

$ rake calabash:run
$ rake calabash:run sdk=5.1
$ rake calabash:run sdk=6.0 device=ipad
$ rake calabash:run args="features/my_first.feature --tags @a"
$ rake calabash:console
Something went wrong with that request. Please try again.