June 2017
Intermediate to advanced
256 pages
5h 38m
English
Feature is the first keyword to be used in a Gherkin file. Each Gherkin file can have only one feature. The typical syntax is this:
Feature: This is feature nameThis is feature description and it can be multi-line till the Gherkin parser encounters the next Keyword
So, the text following the Feature keyword is the feature name that expresses the business module under test; some examples of feature names are Login, Search, and User Registration. Feature description can be expressive and can detail what is supposed to be accomplished by that feature.
Gherkin parser treats the entire text under feature description till it encounters another Gherkin keyword beginning on a new line.
Read now
Unlock full access