O'Reilly logo

The Cucumber for Java Book by Seb Rose, Matt Wynne, Aslak Hellesoy

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

How Cucumber Works

Before we dive into the meat of the book, let’s give you some context with a high-level overview of a typical Cucumber test suite. This structure, from features down to automation library, is illustrated in the figure.

images/the-stack.png

Cucumber was originally created as a command-line tool by members of the Ruby community. It has since been translated into several development environments, including Java, to allow more of us to enjoy its benefits. When you run Cucumber, it reads in your specifications from plain-language text files called features, examines them for scenarios to test, and runs the scenarios against your system. Each scenario ...

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