Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Add info about use of colons with keywords (Closes #284) #691

Merged
merged 1 commit into from
Oct 31, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions content/docs/gherkin/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Feature: Guess the word
The trailing portion (after the keyword) of each step is matched to
a code block, called a [step definition](/docs/cucumber/step-definitions).

Please note that some keywords *are* followed by a colon (`:`) and some *are not*. If you add a colon after a keyword
that should not be followed by one, your test(s) will be ignored.

# Keywords

Each line that isn't a blank line has to start with a Gherkin *keyword*, followed by any text you like. The only exceptions are the feature and scenario descriptions.
Expand Down