Skip to content

cyrusinnovation/motion-frank

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

motion-frank

A gem to use integration of frank-cucumber into RubyMotion projects.

Installation

> gem install motion-frank

or better yet, use Bundler with rvm or rbenv.

Getting started

In your Rakefile:

require 'motion-frank'

Then from the command line you can see the new tasks:

> rake -T
rake frank                 # Shorthand for frank:run
rake frank:init_features   # Create first feature files
rake frank:run             # Build app for simulator, launch simulator and run features
rake frank:symbiote        # Run app with symbiote enabled

Starter features

Before using rake frank:run you'll need some feature files to start. Use rake frank:init_features to create these.

Symbiote

Symbiote is a web-based tool for inspecting the state of your native iOS application. See the Symbiote site for more details.

Run rake frank:symbiote to enable symbiote in the simulator, and visit http://localhost:37265 (or run frank inspect) to browse your app.

Symbiote will crash if your application doesn't have a view, so you will have to try it out with more than just a motion create app.

Versioning

The versions of this gem will track the version of frank-cucumber, so that 1.1.8.* requires frank-cucumber 1.1.8.

Credits

Thanks to Caleb Cohoon for writing very useful instructions that this gem is based on.

About

gem to easily use the frank-cucumber testing framework in RubyMotion projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages