Table of Contents
Foreword |
Acknowledgments |
Preface |
Who This Book Is For |
Why You Should Listen to Us |
How This Book Is Organized |
What Is Not in This Book |
Running the Code Examples |
Online Resources |
1. | Why Cucumber? |
Automated Acceptance Tests |
Behaviour-Driven Development |
Living Documentation |
How Cucumber Works |
What We Just Learned |
2. | First Taste |
Understanding Our Goal |
Creating a Feature |
Creating Step Definitions |
Implementing Our First Step Definition |
Changing Cucumber’s Output |
Testing Our Checkout Class |
Adding an Assertion |
Making It Pass |
What We Just Learned |
3. | Gherkin Basics |
What’s Gherkin For? |
Format and Syntax |
Feature |
Scenario |
Comments |
Spoken Languages |
What We Just Learned |
4. | Step Definitions: From the Outside |
Steps and Step Definitions |
Capturing Arguments ... |
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.