Tuesday, July 26, 2011

Cucumber, capybara, webdriver example for a non-rails app.

Earlier I wrote few sample tests in cucumber+webdriver for etsy.com which is a non-rails application(http://testingandagile.blogspot.com/2011/03/cucumber-webdriver-example-for-non.html). Now I created a cucumber+capybara+webdriver implementation for the same tests.

I'm using ruby 1.9.2, cucumber 1.0.1 and selenium-webdriver 0.2.2

Steps to get this project running on your machine:

  1. Checkout the code from github.com/kksure/etsy_capybara_cucumber

  2. Install bundler gem and do a bundle install. Please take a look at the Gemfile for the gems it will install

  3. From etsy_capybara_cucumber folder, run the command ‘cucumber’

No comments:

Post a Comment