8 From executable specifications to automated acceptance tests
This chapter covers
- The basic principles of automating your scenario steps
- The responsibilities of a step definition method
- Implementing step definitions using Cucumber in Java and TypeScript
- Setting up virtual environments for your tests
Over the previous few chapters, you’ve seen how the BDD life cycle takes acceptance criteria and turns them into executable specifications. Acceptance criteria start as brief notes you write on the back of your story cards that help define when a story or feature is complete. During Three Amigos sessions or other requirements discovery workshops, these notes are fleshed out into more complete examples and counterexamples that illustrate business ...
Get BDD in Action, Second Edition 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.