O'Reilly logo

The Cucumber Book, 2nd Edition by Steve Tooke, Aslak Hellesoy, Matt Wynne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14Bootstrapping Rails

Cucumber was born in the Ruby on Rails community, and there are some well-worn patterns for setting up a Rails application to work with Cucumber. This chapter walks you through those steps, from creating a new Rails application right to making your first scenario pass. If you’re about to embark on a Rails project, this chapter was written for you. Even if you don’t work with Rails in your day job, you’ll learn how to work with libraries like FactoryGirl and ActiveRecord that you can put to wider use, even on non-Ruby projects.

Picture the scene.

It’s Monday morning. The coffee is still steaming on your desk, too hot to drink. Your boss bursts into the room.

I’ve got an amazing idea! We’re going to build a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required