public
Fork of david/merb_cucumber
Description: Merb + Cucumber integration
Homepage:
Clone URL: git://github.com/SFEley/merb_cucumber.git
SFEley (author)
Fri Dec 26 14:09:26 -0800 2008
commit  0fad3f2d67a961470dc89fcbe5fd022561bff049
tree    69afaae092ea876221cea53e876cfc12b6431204
parent  1bedb3650c2882799df90d6276b08b00ccf5f890
name age message
file .gitignore Sun Oct 19 08:09:25 -0700 2008 Merging david changes to my development branch,... [Roman Gonzalez]
file Generators Wed Nov 19 11:14:24 -0800 2008 Initial take on feature generator. [michaelklishin]
file LICENSE Fri Oct 17 14:07:22 -0700 2008 Initial import. [david]
file README.textile Sat Nov 08 12:43:54 -0800 2008 Updated README. [david]
file Rakefile Sat Nov 29 00:54:55 -0800 2008 Bump gem version. [david]
file TODO Fri Oct 24 14:53:52 -0700 2008 Updating the Rakefile and the TODO file [Roman Gonzalez]
directory lib/ Loading commit data...
file merb_cucumber.gemspec Sat Nov 29 00:54:55 -0800 2008 Bump gem version. [david]
directory spec/ Wed Nov 19 11:18:16 -0800 2008 Correct spec file name [michaelklishin]
README.textile

merb_cucumber

Merb + Cucumber integration with Webrat support.

Requirements

  • merb-core >= 1.0
  • cucumber >= 0.1.9
  • webrat >= 0.3.1 (Optional)

First Time

Inside your merb project root, run

$ merb-gen cucumber

For Webrat support, run

$ merb-gen cucumber —session-type webrat

This will also install a sample login feature that should pass if you’re using merb-auth.

Usage

To execute all the features run

$ rake features

Notes

  • When you are implementing the steps of an scenario, please use the new request test helper, if you try to use the
    dispatch_to method, it won’t work as expected.
  • Webrat methods other than ‘visits’ are now singular only.