Friday 27 April 2018

Exploring Gherkin

Gherkin is a language used to write Cucumber feature files. By using Gherkins, we can document the stakeholder requirements in a structured way that can be easily understood by developers, stakeholders and cucumber library.

Why Gherkins?
By using Gherkin, stakeholders can write the requirements in their speaking language. At the time of writing this post, Gherkin keywords are translated into more than 40 speaking languages.

What is the file extensions of Gherkin file?
.feature is the file extensions of Gherkin file

What are the keywords available in Gherkin?
a.   *
b.   And
c.   Background
d.   But
e.   Examples
f.    Feature
g.   Given
h.   Scenario
i.     Scenario Outline
j.    Then
k.   When

Previous                                                 Next                                                 Home

No comments:

Post a Comment