Acceptance Testing with Cucumber

David Chelimsky (DRW Trading), Aslak Hellesøy (Bekk Consulting AS)
Tutorial
Location: Ballroom II
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
code.

Update
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 http://github.com/dchelimsky/railsconf2010 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

Bekk Consulting AS

Aslak Hellesøy is the Chief Scientist of BEKK, a Norwegian business and technology consulting firm. In 2003, after seven years of Java programming, he fell in love with Ruby. He has contributed to dozens of open source projects and is the founder of the Cucumber project.

Comments on this page are now closed.

Comments

Picture of Scott Smith
Scott Smith
06/11/2010 12:44pm 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 2:41pm 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.

Aslak

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 yromaine@oreilly.com.

Download the RailsConf Sponsor/Exhibitor Prospectus

Media Partner Opportunities

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

Program Ideas

Send us your suggestions for speakers, topics, and activities to rails-idea@oreilly.com.

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com.

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.