Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

david/merb_cucumber

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

merb_cucumber (UNMAINTAINED: Maintained repository is now at http://github.com/roman/merb_cucumber)

Merb + Cucumber integration with Webrat support.

Migrating to merb_cucumber 0.5.0

merb_cucumber 0.5.0 now requires cucumber 0.1.13, which introduces some breaking changes. If you were already using
merb_cucumber, you’ll need to do the following:

  • Change the last line of bin/cucumber to be:
Cucumber::CLI.execute ARGV
  • Add a cucumber.yml to your Merb.root with the following contents:
default: —format pretty features

If you experience any problems, please contact me (david) on github.

Requirements

  • merb-core >= 1.0.6.1
  • cucumber >= 0.1.13
  • webrat >= 0.3.2 (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.

About

Merb + Cucumber integration

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.