Git Product home page Git Product logo

webrat_story_steps's Introduction

= Webrat Story Steps collection

* http://www.movesonrails.com/articles/2008/08/19/webrat-story-steps

== DESCRIPTION:

Author:      Andre Foeken - Nedap
Article:     http://www.movesonrails.com/articles/2008/08/19/webrat-story-steps
Bug Tracker: http://nedaphealthcare.lighthouseapp.com/projects/15738/home

Selection of commonly used steps to speed up rspec story creation.

Install:

- Rspec
- Rspec On Rails
- Chronic

- This plugin
  CLONE @ git://github.com/foeken/webrat_story_steps.git

- Adapted Webrat plugin (http://github.com/foeken/webrat)
  CLONE @ git://github.com/foeken/webrat.git

Installation:

- Install my forked Webrat in your vendor/plugins directory
- Copy the webrat_story_steps directory to your vendor/plugins directory
- Run ./script/generate stories

- Start writing stories!

* Read the Wiki for all the possible steps
* Make sure that you read the stories/custom_steps/required_model_attributes.rb file to prevent any validation warnings!

Customizing:

You can add you own steps (that apply ONLY to your app) to the custom_steps directory that was generated. Just as you would have added normal Rspec steps. Please submit any general steps!

Note that these steps should mix with any steps you have already defined as long as the step group names differ.

Selenium:

Read the SELENIUM file for more info on how to drive selenium with these same steps! (No changes required to your stories)

webrat_story_steps's People

Contributors

foeken avatar orangewolf avatar barttenbrinke avatar dbussink avatar

Stargazers

Angus H. avatar Faun avatar  avatar Al Zimmerman avatar Mike Stramba avatar  avatar Mirko Grönroos avatar Pieter Bos avatar Toni Bergholm avatar Yitzhak Bar Geva avatar Donald Parish avatar Paco Guzmán avatar  avatar Martin Sadler avatar Marcus Derencius avatar Anders Törnqvist avatar Greg Weber avatar Matt Aimonetti avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

suresh1406

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.