-
Notifications
You must be signed in to change notification settings - Fork 17
Usage
hedgehog edited this page Sep 13, 2010
·
3 revisions
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
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 ...