You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hedgehog edited this page Sep 13, 2010
·
3 revisions
New File
If you want a template file you can:
Go to File → New File and choose ‘Cucumber’ and ‘FeatureTemplate.feature’
If you want an empty file you can also:
Create a new empty file ending with .feature
Recognized Syntax
A skeleton of some recognized syntax (see below for Netbeans image)
# Comments
@some_tag @another_tag
Feature: ...
As a ...
I want to ...
In order to ...
Background: ...
Given ...
Scenario Outline: ...
Given ... <var1> ...
And ...
| header 1 | header 2 | # intermingled comments
| cell a | cell b |
When ... <var2> ...
Then ...
And ...
"""
... <var1> ... <var2>
"""
Examples:
| var1 | var2 |
| a | b |
Scenario: ...
Given ...
When ...
Then ...