Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is an example of how to use Cucumber with capybara-mechanize (https://github.com/jeroenvandijk/capybara-mechanize) outside of Ruby on Rails. My goal is to provide a means for writing quick black-box integration tests for any web application, even if it's a legacy application and regardless of whether or not it's using Rails. The documentation I've been able to find on how to run Cucumber outside of Rails is sparse, and the examples few and far between. Moreover the capybara-mechanize gem is relatively new, and it's a great way to do quick headless integration tests. Check out the "google_search" feature for a quick example. You should be able to get this running by either typing: rake cucumber or simply: cucumber