...
Panel | ||
---|---|---|
| ||
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: |
...
Info |
---|
In order to Instead of |
...
“So that” you can use |
...
“In order |
...
to” so that you can start with the why |
...
Info |
---|
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 |
...
Info |
---|
The 'to’ part in the “I want to“ keyword can be omitted and in the “As a” keyword you can enter either “As a“ or “As an” |
Simple Step Parameters
Panel | ||
---|---|---|
| ||
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 Scenario Outline Parameters |
Panel | ||
---|---|---|
| ||
<> delimited step parameters which are used as part of Scenario Template or Scenario Outline are highlighted automatically in orange |
...
...
Info |
---|
Scenario outline parameters are also supported inside tabular step parameters |
Doc String Step Parameters
Panel | ||
---|---|---|
| ||
Doc strings are highlighted in purple colour |
...
Info |
---|
The use of ``` 'backtick' characters instead of quotes |
...
is supported |
XML Step Parameters
Panel | ||
---|---|---|
| ||
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 |
...
Panel | ||
---|---|---|
| ||
Comments are highlighted in grey colour |
...
Info |
---|
Comments spanning several lines can be conveniently folded using fold/unfold gutter icons |
Questions & Answers
Panel | ||
---|---|---|
| ||
A comment prefix character '#' is used followed by ‘Q`:' or 'A:’ to highlight questions and answers respectively. Or the more elaborate version: “Question:“ and “Answer:” |
Info |
---|
Tip - you can turn off the showing of gutter icons on the left via an editor menu option shown below |