Feature

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 name
This 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.134.79.121