Chapter 2First Taste

We figured you’d be eager to start playing with your shiny new toy right away, so we’re going to work through a simple example that will give you a feel for what it’s like to work with Cucumber. You might not quite understand everything that happens here just yet, but try not to let that worry you. We’ll come back and fill in the details over the next few chapters.

We’re going to build a simple command-line application from the outside-in, driving our development with Cucumber. Watch how we proceed in very small baby steps, going back to run Cucumber after we make each change. This patient rhythm is an important characteristic of working effectively with Cucumber, but it’s much easier to demonstrate than to explain. ...

Get The Cucumber Book, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.