Acceptance Testing with Cucumber

David Chelimsky (DRW Trading), Aslak Hellesøy (Cucumber Limited)
Location: Ballroom II Level: Novice
Average rating: ***..
(3.75, 44 ratings)

Cucumber is all the rage these days, but many developers struggle to
understand how and when to use it. It is designed to be an Acceptance
Testing tool in the context of BDD, but that explanation tends to
bring up even more questions.

In this tutorial, Aslak Hellesøy and David Chelimsky will help you to
understand the role of Acceptance Testing, and how to use Cucumber
effectively. Attendees will develop an app, working from the
outside-in, using several different approaches to writing scenario
steps and hooking them up to pre-existing and non-existing application

This is going to be a hands on session in which you will all write code. To avoid clogging up the wifi during the session, please set up the following on your system beforehand:

  • git
  • rvm with ruby-1.8.7 installed with a clean gemset for our session
  • the latest versions of rails-3.0.0.beta, rspec-rails-2.0.0.beta, and cucumber-rails

Note that we may be releasing new versions of cucumber-rails and rspec-rails as late as Sunday evening, so please check Monday morning before the session for the latest versions.

We’ll also post a github repository with additional material you’ll need. You’ll find it at on Sunday evening.

Photo of David Chelimsky

David Chelimsky

DRW Trading

David Chelimsky is the lead developer of the RSpec project, author of The RSpec Book, and also a software developer at DRW Trading.

Photo of Aslak Hellesøy

Aslak Hellesøy

Cucumber Limited

Aslak Hellesøy is the founder of the Cucumber project and company of the same name.

Aslak has been programming professionally since 1998 and has been an active contributor to open source and agile communities since 2001.

Comments on this page are now closed.


Picture of Scott Smith
Scott Smith
06/11/2010 8:44am EDT

I’ve had a love/hate relationship w/ cucumber for a year. It was great to see that my “hate items” have been addressed. The hands-on, while sometimes frustrating because of the network connections, gave me the benefit of pairing; although it was (thankfully) simple, it was still very helpful so see the various approaches on it.

I also appreciated the introductory part of the session; helps me get emotionally oriented to what the rest of the session will be.

Really good job.

Picture of Aslak Hellesøy
Aslak Hellesøy
06/07/2010 10:41am EDT

Thanks to everybody who attended. We got a lot of great questions, and I hope you learned something valuable!

If you have suggestions about what to add/remove/change the next time we do this, please let us know here.


co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Heroku
  • 8th Light
  • Blue Box Group
  • InfoEther
  • JetBrains
  • New Relic
  • Open Hosting
  • Rhomobile
  • WyeWorks
  • Linux Pro Magazine
  • Chargify

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine at

Download the RailsConf Sponsor/Exhibitor Prospectus

Media Partner Opportunities

For information on trade opportunities with O'Reilly conferences or contact mediapartners@

Program Ideas

Send us your suggestions for speakers, topics, and activities to

Press and Media

For media-related inquiries, contact Maureen Jennings at

RailsConf Newsletter

To stay abreast of conference news please sign up for the RailsConf newsletter (login required)

Contact Us

View a complete list of RailsConf 2010 contacts.