Gherkins and Cucumber | Selenium Forum
M
Posted on 15/09/2015
What is Gherkins?
are there any modules included in selenium training? if yes, please let me know the modules?
Is gherkins something that can be used with selenium and cucumber?
Any reference links really appreciated.

M
Replied on 16/09/2015

Gherkin is the language that Cucumber understands. It is a Business Readable, Domain Specific Language that lets you describe software’s behaviour without detailing how that behaviour is implemented.

Gherkin serves two purposes — documentation and automated tests. The third is a bonus feature — when it yells in red it’s talking to you, telling you what code you should write.

Gherkin’s grammar is defined in the Treetop grammar that is part of the Cucumber codebase. The grammar exists in different flavours for many spoken languages (37 at the time of writing), so that your team can use the keywords in your own language.