The BDD Books - Formulation
This book is 95% complete
Last updated on 2020-03-12
About the Book
The book will be available in print on Amazon through http://bddbooks.com.
Written by the creator of SpecFlow and the author of The Cucumber for Java Book, this book gives the reader the inside information on how to effectively formulate concrete examples (generated during the discovery phase) as business-readable, Gherkin scenarios - the industry leading Behaviour Driven Development (BDD) specification syntax. This practical guide explores the practices and principles for writing better scenarios (using Given/When/Then), by following a team as they create living documentation for a product that they are enhancing.
This book is written for everyone involved in the specification and delivery of software (including product owners, business analysts, developers and testers). The book describes how all stakeholders need to be involved in the creation of a product's specification. How you get involved will depend on your skills, your other time commitments, and a host of other factors - but the involvement of all concerned is essential. So, whether you come up with the words, do the typing, or provide constructive feedback, you will find this book indispensable.
This is the second in the BDD Books series that will guide you through the entire development process, including specific technical practices needed to successfully drive development using collaboratively-authored specifications and living documentation.
- What this book is for
- Who this book is for
- How to read this book
- Why you should listen to us
- How this book series is organized
- What is not in this book
- Online resources
Chapter 1 – What is Formulation?
- 1.1 – Where does Formulation fit into BDD?
- 1.2 – Shared understanding
- 1.3 – Two types of scenarios
- 1.4 – Many formats
- 1.5 – Gherkin overview
- 1.6 – Living documentation
- 1.7 – What we just learned
Chapter 2 – Cleaning up an old scenario
- 2.1 – The old scenario
- 2.2 – Keep your scenarios BRIEF
- 2.3 – Focus and Intent
- 2.4 – Essential, not incidental
- 2.5 – Business language
- 2.6 – Real data and intent
- 2.7 – Communication, not testing
- 2.8 – Illustrative scenarios
- 2.9 – What we just learned
Chapter 3 – Our first feature
- 3.1 – Feature files
- 3.2 – A sample feature file
- 3.3 – Gherkin basics
- 3.4 – Diving into the feature file
- 3.5 – Scenario structure
- 3.6 – Data tables
- 3.7 – Scenario outlines
- 3.8 – Keep tables readable
- 3.9 – What we just learned
Chapter 4 – A new user story
- 4.1 – Blacklist
- 4.2 – Write it upwards
- 4.3 – Too many cooks
- 4.4 – Quotation marks
- 4.5 – There’s no “I” in “Persona”
- 4.6 – Background
- 4.7 – Unformulated scenarios
- 4.8 – Commenting in feature files
- 4.9 – Setting the context
- 4.10 – Formulation gets faster
- 4.11 – Incremental specification
- 4.12 – Manual scenarios
- 4.13 – Review is not optional
- 4.14 – What we just learned
Chapter 5 – Organizing the documentation
- 5.1 – User stories are not features
- 5.2 – Separation of concerns
- 5.3 – Documentation evolves
- 5.4 – Documenting the domain
- 5.5 – Tags are documentation too
- 5.6 – Journey scenarios
- 5.7 – Structuring the living documentation
- 5.8 – Documenting shared features
- 5.9 – Targeted documentation
- 5.10 – What we just learned
Chapter 6 – Coping with legacy
- 6.1 – BDD on legacy projects
- 6.2 – Incremental documentation
- 6.3 – Manual test scripts
- 6.4 – Teams need skilled testers
- 6.5 – What we just learned
- Where are we now?
- What more is there?
- How else we can help
- Gherkin reference
- Formulated feature files
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.