Sometimes PDF cucumber tests fail at the first test run and succeed at the second run. You can fix this...
When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...
Run rspec-and-cucumber from any project directory to run both RSpec and Cucumber. If available, rspec_spinner or cucumber...
We often have a separate production branch that lags a bit behind the more cutting edge main branch. Sometimes you...
Awesome presentation for the new HTML5 features we will get to play with. This presentation should probably be viewed in...
If you save a non-standard object (not a String or Fixnum, etc) like the AwesomeClass from your application in...
You can use CSS attribute selectors in your step definitions like this: Then /^the page should have a meta description...
A capybara driver that uses WebKit via QtWebKit.
Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1...
Bryan talked about the differences between imperative and declarative scenarios. In my opinion, both styles have benefits and should be...
When you write a custom RSpec matcher a good place to store them is to create one file per matcher...
At times, it might be unavoidable to have different CSS rules for Internet Explorer than for sane browsers. Using Sass...
Back when Steak was first released, Capybara didn’t have any of the nice RSpec helpers it does now. A...
Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2
Cucumber scenarios that are tagged with @javascript so they run with Selenium are very slow. You might not want to...
Merging .po-files with Git is painful. There have been attempts of making Git more clever when trying to merge...
We are maintaining some vintage projects with tests written in Test::Unit instead of RSpec. Mocks and stubs are not...
You will occasionally need to clean out your database while keeping the schema intact, e.g. when someone inserted data in...
When you click a link or a press a button on a Selenium-controlled browser, the call will return control...
If you have content inside a page that is hidden by CSS, the following will work with Selenium, but not...
A while ago we were working on an application that had an entire version specially created for mobiles, such as...
When you have a Cucumber step like Then I should see "Did you see those \"quotation marks\" over there...
To improve your chances to get proper error messages, you can try ^ to start cucumber with the -b option, so...
This note describes a Cucumber step definition that lets you say: Then "Mow lawn" should be an option for "Activity...