Part 4 – Behavior-Driven Development with Cucumber
This part is about behavior-driven development (BDD) using Cucumber tests. Whereas the first three parts were focused on building Jest unit tests at the component level, this part looks at writing tests at the system level—you might also think of these as end-to-end tests. The goal is to show how the TDD workflow applies beyond unit testing and can be used by the whole team, not just developers.
Finally, we end the book with a discussion of how TDD fits within the wider testing landscape and suggestions for how you can continue your TDD journey.
This part includes the following chapters:
- Chapter 17, Writing Your First Cucumber Test
- Chapter 18, Adding Features Guided by Cucumber Tests
- Chapter 19, Understanding TDD in the Wider Testing Landscape