Class ScenarioGrouping
java.lang.Object
com.arc_e_tect.gradle.gherkin.parser.ScenarioGrouping
Groups
ScenarioInfo instances by the Feature they belong to.-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String, List<ScenarioInfo>> byFeatureTitle(List<ScenarioInfo> scenarios) GroupsscenariosbyScenarioInfo.featureTitle(), preserving the order in which each feature title was first encountered.
-
Method Details
-
byFeatureTitle
GroupsscenariosbyScenarioInfo.featureTitle(), preserving the order in which each feature title was first encountered.- Parameters:
scenarios- the scenarios to group- Returns:
- an ordered map from feature title to the scenarios belonging to that feature, in document order
-