Writing Great Specifications: Using Specification by Example and Gherkin
- 5h 29m
- Kamil Nicieja
- Manning Publications
Writing Great Specifications is an example-rich tutorial that teaches you how to write good Gherkin specification documents that take advantage of the benefits of specification by example. Foreword written by Gojko Adzic.
About the Technology
The clearest way to communicate a software specification is to provide examples of how it should work. Turning these story-based descriptions into a well-organized dev plan is another matter. Gherkin is a human-friendly, jargon-free language for documenting a suite of examples as an executable specification. It fosters efficient collaboration between business and dev teams, and it's an excellent foundation for the specification by example (SBE) process.
About the Book
Writing Great Specifications teaches you how to capture executable software designs in Gherkin following the SBE method. Written for both developers and non-technical team members, this practical book starts with collecting individual feature stories and organizing them into a full, testable spec. You'll learn to choose the best scenarios, write them in a way that anyone can understand, and ensure they can be easily updated by anyone.
- Reading and writing Gherkin
- Designing story-based test cases
- Team Collaboration
- Managing a suite of Gherkin documents
About the Reader
Primarily written for developers and architects, this book is accessible to any member of a software design team.
About the Author
Kamil Nicieja is a seasoned engineer, architect, and project manager with deep expertise in Gherkin and SBE.
In this Book
About This Book
Introduction to Specification by Example and Gherkin
The Specification Layer and the Automation Layer
Mastering the Given-When-Then template
The Basics of Scenario Outlines
Choosing Examples for Scenario Outlines
The Life Cycle of Executable Specifications
Organizing Scenarios into a Specification Suite
Refactoring Features into Abilities and Business Needs
Building a Domain-Driven Specification Suite
Managing Large Projects with Bounded Contexts
A Complete List of Gherkin Keywords and Their Synonyms
Best Practices in the Book