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 ...