Archives for the ‘Testing’ Category

Capybara, RSpec, Swinger and a dash of awesome

When trying to get Capybara-rspec working I went googling first, to see how others have done it… People suck and generally over complicate the simplest tasks… Heres how I got it all working! # Gemfile   gem ‘rspec-rails’ gem ‘capybara’ gem ‘swinger’ Add rspec rails, capybara and swinger, then install your gems and generate rspec [...]

Rails3 With Cucumber, Rspec

Initially I had a few problems getting rspec and cucumber (especially gherkin) working with rails3 beta and ruby 1.9.2! Mainly these problems I ran into seemed to deal with bundler. So easy enough, to get cucumber and rspec working, add the following to your Gemfile group :test do gem ‘webrat’ gem ‘rspec’ gem ‘capybara’ gem [...]

Hudson Ci Server Running Selenium/Webdriver Cucumber In Headless Mode Xvfb

I was determined to get our CI server running cucumber features in headless mode. I ran into a few webdriver problems which resulting in a small monkey patch (capybara patch being written and submitted) for capybara. This is how I got it running on a fedora 12 server (and some tips on getting it working [...]



Nice job!
You now have 30 lives.
Use them wisely, my friend.

Konami Easter Egg by Adrian3.com