Chapter 2. BDD—the whirlwind tour

This chapter covers

  • An end-to-end walkthrough of BDD practices in action
  • Discovering features and describing them through stories and examples
  • Using executable specifications to specify features in detail
  • Using low-level BDD to implement features
  • Using BDD test results as living documentation
  • Using living documentation to support ongoing maintenance

In this chapter, we’ll look at a concrete example of how BDD might work on a real-world project. As you saw in the previous chapter, BDD involves the development team engaging in conversations with the customer throughout the project, using examples to build up a more concrete and less ambiguous understanding of what the business really needs. You write ...

Get BDD in Action: Behavior-Driven Development for the whole software lifecycle now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.