June 2019
Intermediate to advanced
208 pages
5h 19m
English
Making Scenarios More Expressive
Chapter 3, “Formalizing Examples into Scenarios,” covered how to use Cucumber’s Gherkin language to express examples of your app’s behavior. In this chapter, we look at how to go beyond the basics to create scenarios that are fluent, expressive, and a pleasure to read and write. We’ll see some common ways scenarios go wrong and how to fix them.
As is often the case with teams new to Cucumber, the library team did reasonably well when working on their first feature or two, but they began to struggle with the expressiveness of their scenarios as they moved to a new area of their domain and involved new team members in writing scenarios. From their initial time with Jonah, they ...
Read now
Unlock full access