Windy City Rails
July 18th, 2009
I’m presenting at Windy City Rails in September. This is just the second year of this exciting midwest Rails conference, but the schedule looks most impressive. Talks range from How To Test Absolutely Anything to Better Ruby through Functional Programming to a Rails 3 Update from Yehuda Katz, Rails core’s newest member and the man who is bringing the best of Merb to Rails 3.
Last year I did a presentation about BDD and, with such a wide subject, ran out of time before I got through most of it. This year, the organizers of the conference have given me the opportunity to talk for three full hours! Count ‘em. Three!
It’s actually not just me talking (whew!). It’s a tutorial entitled Behaviour Driven Rails with RSpec and Cucumber. I’m planning an intensive skills development workshop, taking attendees through the development of a feature in a Rails app from planning to writing Cucumber scenarios to driving out code with RSpec. This is going to be about as close as you’ll get to a BDD immersion in three hours, so I hope to see you there whether you’re just learning about BDD now or you’ve already been doing it for a while.
See you in September!


September 11th, 2009 at 9:05 am
Hi, I’m reading the Beta 8 version and getting confused on the BDD development model. As in the book, we start with Cucumber, writing step definition for first step in scenario and see it’s failed. Then we drop down to RSpec and describe it…
The book also recommends we should start RSpec with the views then controller and model.
Saying that we start with this scenario:
Feature: Task management Scenario: View task list Given I have following tasks: |title | due_date | | Research BDD | 09/15/2009 | | Apply to ten project | 10/15/2009 | When I go to the all tasks page Then I should see following tasks: |title | due_date | | Research BDD | 09/15/2009 | | Apply to ten project | 10/15/2009 |
I start writing the step definition for the first step using Direct Model Access. The step fail because Task is undefined. I then need to spec the Task model, then implement the real model to make it pass…
I wonder how I can start spec the views first in this case? Or the scenario itself already contains problem?
Thanks, Lam
September 11th, 2009 at 5:57 pm
David,
I’m going to be in the tutorial tomorrow. Looking forward to it.
Jeremy