Opened from disk

This site is meant to be served, so its folder tree and search do not work when a page is opened from disk. Run ghg serve in the folder of your ghg.toml, or serve the site's folder with any web server, then open the address it gives.

Skip to content
Theme

Feature: Kinds written with other words

Note: in the Gherkin feature file, this feature is

Each heading names its block's kind; the word the file writes,
when it is another, is said at the top of the block.

Note: in the Gherkin feature file, this scenario is

  1. Given a shelf

From the scenario

  1. Given a book

Note: in the Gherkin feature file, this scenario outline is

  1. Given a shelf

From the scenario

  1. Given <count> books

Runs once for each row of these examples:

Note: in the Gherkin feature file, this scenario outline is

  1. Given a shelf

From the scenario

  1. Given <count> books

Runs once for each row of these examples:

Note: in the Gherkin feature file, this scenario is

  1. Given a shelf

From the scenario

  1. Given a book

Note: in the Gherkin feature file, this scenario is

  1. Given a shelf

From the scenario

  1. Given nothing named

  1. Given a shelf

From the scenario

  1. Given a scenario named as the group

Note: in the Gherkin feature file, this scenario is

  1. Given a shelf

From the scenario

  1. Given a book

About this note

Gherkin lets authors use different words for the same kind of block. For example, Scenario and Example both define a scenario, and Examples and Scenarios both define examples. This site names every block by its kind, so pages read the same whichever word was used. The note only tells you which word the feature file uses; it changes nothing about the block.