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 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.