Chapter 7

Growing Living Documentation

We’ve seen how Cucumber can be used to support development of new behaviors in a system, but Cucumber scenarios live longer than the current user story. A suite of Cucumber scenarios is living documentation for the behavior of the system. In this chapter, we explore just what living documentation means and why it’s better than traditional documentation, we see which documents a Cucumber suite replaces and which documents continue to be useful, and we discuss how to organize and maintain your Cucumber suite to best serve you over the long haul.

What Is Living Documentation, and Why Is It Better?

When we say living documentation, there’s an implied contrast with “dead” documentation. Typical documentation ...

Get Behavior-Driven Development with Cucumber: Better Collaboration for Better Software now with O’Reilly online learning.

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