What is Gherkin ?
Every project team has technical and non-technical members(like Business analyst,system analyst,clients,Developers,Testers etc.,.).So every member have its own communication language. So here we need a common language to express the requirements.So this language is simple enough understood by all the team members irrespective of their tech and non-technical skills.And it should be used as project documentation as well.
For that cucumber uses Gherkin language.
Gherkin is simple and structured language which uses regular plain English language to describe the scenarios and requirements. Gherkin contains set of keywords which are used to write our automated tests.
Gherkin Keywords:
Feature
Given
When
And
Then
But
Background
Scenario Outline Examples
These are main keywords we will use while writing our scenarios.Will see in next posts how these keywords will be used in feature file.
Please comment below to feedback or ask questions.
Every project team has technical and non-technical members(like Business analyst,system analyst,clients,Developers,Testers etc.,.).So every member have its own communication language. So here we need a common language to express the requirements.So this language is simple enough understood by all the team members irrespective of their tech and non-technical skills.And it should be used as project documentation as well.
For that cucumber uses Gherkin language.
Gherkin Keywords |
Gherkin is simple and structured language which uses regular plain English language to describe the scenarios and requirements. Gherkin contains set of keywords which are used to write our automated tests.
Gherkin Keywords:
Feature
Given
When
And
Then
But
Background
Scenario Outline Examples
These are main keywords we will use while writing our scenarios.Will see in next posts how these keywords will be used in feature file.
Please comment below to feedback or ask questions.
No comments:
Post a Comment
Please comment below to feedback or ask questions.