roman / merb_cucumber forked from david/merb_cucumber
- Source
- Commits
- Network (8)
- Issues (1)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
development
Roman Gonzalez (author)
Fri Oct 24 15:08:34 -0700 2008
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Oct 19 08:09:25 -0700 2008 | |
| |
Generators | ||
| |
LICENSE | Fri Oct 17 14:07:22 -0700 2008 | |
| |
README | ||
| |
Rakefile | ||
| |
TODO | Fri Oct 24 14:53:52 -0700 2008 | |
| |
lib/ | ||
| |
spec/ |
README
merb_cucumber ============= Merb + Cucumber integration with Webrat support. === Requirements * merb-core >= 0.9.9 * cucumber >= 0.1.8 * webrat >= 0.2.1 (Optional) === First Time On your merb project root, you must run $ merb-gen cucumber For Webrat support run the command with the option webrat: $ merb-gen cucumber --session-type webrat In this case, it will also install a simple login feature that should pass if you're using merb-auth. === Usage merb_cucumber does not provide feature generators, that's because is (very) recommended that you write the feature specifications manually. To execute all the features just run: $ rake cucumber:features:all To execute just one feature, you'll need to run: $ rake cucumber:feature[<feature-name>] For example, if you have a feature called "authentication.feature" you should execute the rake task like this $ rake cucumber:feature[authentication] === 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. * If you are using Webrat, remember to use it only on the actions that return a 200 status, if they respond with a redirect, Webrat won't work as expected. == Credits Roman Gonzalez [romanandreg@gmail.com] David Leal [dgleal@gmail.com]

