Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Gherkin Keywords

All Gherkin keywords are highlighted using colour and bold font

image-20241001-112014.png

Note that using * (asterisk) character as a step keyword is not supported as it does not improve readability of the examples

User Story Keywords

The commonly used set of user story keywords (As a, I want to, So that) can be entered in the Feature title section like below:

image-20240928-170258.png

Tip - Instead of “So that” you can use “In order to” so that you can start with the why

image-20241001-094117.png

Tip - user story keywords don’t need to be at the start of the line and you can use either lower or upper case as needed

image-20241001-094034.png

Tip - you can omit the 'to’ part in the “I want to“ keyword and in the “As a” keyword you can enter either “As a“ or “As an

image-20241001-094308.png

Simple Step Parameters

Simple parameters (those that are on the same line as the step keyword) can be highlighted by simply wrapping them in single or double quotes

image-20241001-094952.png

Scenario Outline Parameters

<> delimited step parameters which are used as part of Scenario Template or Scenario Outline are highlighted automatically in orange

image-20241001-095913.png

Tip - use autocompletion support to quickly populate Examples table header section with the names of the parameters that you have used in parameterized steps above. Simply press 'Ctrl+Space' to bring up the auto completion menu

image-20241001-103955.png

Doc String Step Parameters

Doc strings are highlighted in purple colour

image-20241001-110332.png

Tip - you can also use 'backtick' characters instead of quotes if required

image-20241001-110539.png

XML Step Parameters

If you enter 'xml' after the opening chars of a multi line string then any XML that you enter before the closing chars are automatically syntax highlighted

image-20241001-111424.png

Scenario Tags

Tags are highlighted in grey colour

image-20241001-112249.png

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.