Mike Gehard's blog
For some reason the Universe keeps sending great Cucumber related stories to me via Twitter.
Here is another great one from the folks at Square on how to test Resque based functionality via Cucumber:
I found this article to be quite enlightening about the use of Cucumber , and more specifically the "verbiage" of Cucumber features.
http://elabs.se/blog/15-you-re-cuking-it-wrong
Make sure you read down through the comments as there are some interesting replies from both the people behing Cucumber and Pickle.
I've always gotten that "not so fresh" feeling when including CSS selectors in my Cucumber features and now I have a reason why.
This article becomes really important if you start to have your clients define their Tracker stories as Cucumber features, something I am toying with right now. Just think of how much development time you could save if all you needed to do was copy/paste a feature from Tracker into a feature file. Sure it may never happen 100% of the time but even if it only 10% of the time it is still more than 0%.
Are your Cucumber features that use the @javascript tag slowing you down?
Try adding the following to your Gemfile:
gem 'thin', :group => :test
and see what happens.
The other day I was looking to test some rescue_from functionality in a subclass of ApplicationController and found an easy way to set this up, the controller() method.
Note: Testing of ApplicationController subclasses is a new addition and not available in a released beta of rspec-rails2 as of the writing of this post.
