Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is some example code that shows how to do a basic cucumber test for a remote web site using mechanize.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
features
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README
cucumber.yml

README

INSTALLATION

1) gem install rvm
2) follow the post-installation instructions for rvm
3) rvm install 1.8.7
4) rvm use 1.8.7
5) rvm gemset create cucumber-webrat-mechanize-example
6) rvm gemset use cucumber-webrat-mechanize-example
7) run the following commands:

gem install bundler --pre
bundle install
bundle exec cucumber features

8) You should now be able to execute the example by typing rake

For more information, please look at this blog post:

http://surgeworks.com/blog/general/using-cucumber-and-webrat-for-remote-web-testing
Something went wrong with that request. Please try again.