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.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
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.management.
- 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
Table of Contents
Chapter 1 Introduction To Specification By Example And Gherkin
PART 1 - WRITING EXECUTABLE SPECIFICATIONS WITH EXAMPLES
Chapter 1 The Specification Layer And The Automation Layer
Chapter 2 Mastering The Given-When-Then Template
Chapter 3 The Basics Of Scenario Outlines
Chapter 4 Choosing Examples For Scenario Outlines
Chapter 5 The Life Cycle Of Executable Specifications
Chapter 6 Living Documentation
PART 2 - MANAGING SPECIFICATION SUITES
Chapter 1 Organizing Scenarios Into A Specification Suite
Chapter 2 Refactoring Features Into Abilities And Business Needs
Chapter 3 Building A Domain-Driven Specification Suite
Chapter 4 Managing Large Projects With Bounded Contexts