Implementation of Gherkin Comments

Learn about the implementation of the parser and Gherkin comments.

Our existing IndentationManager class will help us quite a bit to implement our Gherkin parser, but there is still a lot for us to do. Don’t worry; like with the data modeling, we will work through each section one at a time and discuss what we are doing along the way. We should first address the hidden complexity of Gherkin’s keywords.

Previously, we briefly mentioned that Gherkin can be localized in several different languages. Gherkin has been translated into over seventy languages, including English and Norwegian. We can find the following example from their documentation:

Get hands-on with 1400+ tech skills courses.