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

Get The Cucumber for Java Book 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.