Living documentation

Applies to CucumberStudio Cloud, and to Enterprise ver. 3.3 - 3.5.6.0. Last updated on November 17, 2023

Living documentation is a way to share the definition of your features and have common support for dialog for your business and tech teams.

Enable the BDD mode

The living documentation feature is available only if the BDD mode is active in your project. By default, this mode is on and you can see the Living documentation item in the menu on the left. If you don’t see that item, you have to enable the BDD mode.

See instructions

Create living documentation

Click Living documentation in the menu on the left. Then click Add new to create a new one:

Living documentation section

Click the image to enlarge it.

If you already have some, it will be displayed:

Example of living documentation list

Click the image to enlarge it.

Living documentation is created (and synced) from a test run of your project, so its content always reflects the latest definition of your features (e.g if you generate your documentation from your CI/CD test run)

Living documentation content

Click the image to enlarge it.

A folder of the test run will become a feature (if it contains at least a scenario or a description), or a simple hierarchy level (or both). A test of the test run will become a scenario.

Note: When a test run is synchronized, the associated living documentation will be updated as well.

Feature page

A feature page looks like this:

Feature page

Click the image to enlarge it.

  1. Feature title, description and tags

  2. Background (computed from the “Setup” in your test run folder if there is one)

  3. Scenarios list

Scenario element

Let’s focus on scenarios:

  1. Scenario title, description and tags

  2. Steps list

  3. A free-text argument

  4. A step table argument

CucumberStudio scenario living doc

Click the image to enlarge it.

If your scenario contains a datatable, the living documentation will display it as the couple scenario outline / examples:

CucumberStudio scenario outline

Click the image to enlarge it.

History of a feature

You can get the latest modifications of a feature by clicking on the History menu:

CucumberStudio feature history

Click the image to enlarge it.

A new item will appear in the timeline when:

  • The feature has been created

  • The feature has been renamed

  • The description of the feature has been updated

  • One of its scenario has been created, updated or deleted

Highlight search results