Parsing Steps
Learn how to parse steps using Gherkin parser class.
We'll cover the following...
Parsing steps
Steps are what provide the individual action items when defining a Gherkin test. The example below offers a quick overview of what these look like in context:
Press + to interact
Scenario: eat 5 out of 12Given there are 12 cucumbersWhen I eat 5 cucumbersThen I should have 7 cucumbers
Like with most things we’ve done so far, we will iterate each line we are interested in and check to see if they start ...