O'Reilly logo

BDD in Action: Behavior-Driven Development for the whole software lifecycle by John Ferguson Smart

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. From examples to executable specifications

This chapter covers

  • Turning concrete examples into executable scenarios
  • Writing basic scenarios
  • Using data tables to drive scenarios
  • Writing more advanced scenarios using more JBehave/Gherkin keywords
  • Organizing scenarios in feature files

In the last chapter, you saw a number of techniques to identify and describe valuable features. You also saw how conversations with the stakeholders around concrete examples are a very effective way to build up a common understanding of a problem space. In this chapter, you’ll learn how to express these examples clearly and precisely, in a way that will allow you to transform them into executable specifications and living documentation (see figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required