Parsing Scenario Tags

Learn how to parse scenario tags using the Gherkin parser class.

Implementation of Gherkin scenario tags

Gherkin supports adding various tags to scenarios. The code snippet below demonstrates how tags can be added to a scenario to organize them:

Feature: Feature Name

  @tagOne @tagTwo @tagThree
  Scenario: Doc String Example One
    Given a blog post named "Random" with Markdown body

Our strategy to get these lines ...