Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Folding User Story note group is useful when you want to quickly capture a newly discovered User Story under the same Feature during team discussions.

...

...

Fold Rules

Folding Rule note groups can be useful whenever you just want to quickly review the acceptance criteria for a User Story (note that Rules in a Cucumber Feature file essentially are the acceptance criteria), without going into the details of the examples.

...

Folding Scenario note groups can be useful when you don’t want to see the details of each of the examples especially when you are working also with the Step notes, as is the case with Feature Mapping.

...

Info

Fold all scenarios
Click on the toolbar button highlighted below in order to fold all of the Scenarios in one operation

image-20241011-211038.png

Click on the chevron double-down button next to it to unfold all of the Scenarios

...

This can be configured via the preferences menu option highlighted below.

...

* Note that the “Feature” fold option shown in the screenshot above corresponds to folding the User Story note groups - since the user story text is placed at the Feature cucumber keyword when viewed as a plain text file.

Folding is Linked to Gherkin Text Editor Mode

Folding can be done either via Example Mapping mode or via the Gherkin Text Editor mode. The folded ranges are “linked“ between the two modes - meaning that if you fold a section of lines in Gherkin Text Editor then the corresponding note groups in Example Mapping will get folded also. This can be better seen when viewing the two modes in a side-by-side view, like shown below.

...

Selected Scenario Note Group above corresponds to line number 9 in the Gherkin Text Editor panel on the right which has been folded.