Skip to content

Commit

Permalink
Added feature name in scenario meta-data
Browse files Browse the repository at this point in the history
  • Loading branch information
cjayswal committed Apr 11, 2020
1 parent 3c57e94 commit 398d5e3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public List<Pickle> compile(GherkinDocument gherkinDocument) {
}

String language = feature.getLanguage();
List<Tag> featureTags = feature.getTags();
List<Tag> featureTags = new ArrayList<>(feature.getTags());
featureTags.add(new Tag(feature.getLocation(), "@Feature:"+feature.getName()));
List<Step> backgroundSteps = new ArrayList<>();

for (ScenarioDefinition scenarioDefinition : feature.getChildren()) {
Expand Down

0 comments on commit 398d5e3

Please sign in to comment.