Parsing Features
Discover how to parse Gherkin feature files by identifying feature lines and managing parsing steps like scenarios, backgrounds, and rules in Laravel. Learn to integrate existing parsing methods for complete feature analysis, building a functional Gherkin parser.
We'll cover the following...
We'll cover the following...
Parsing features
All of the work we have done so far has been leading up to our final construct: the feature. With all of the parsing methods we have implemented so far, our strategy has always been to loop over the lines that ultimately come from the feature line. We will continue that in this lesson. As a quick reminder of what we need to do, let’s take a quick look at ...