Add ability to distinguish Scenarios with same names

Description

It's impossible to determine running scenario using current API when BDD story contains scenarios with same names.

StoryReporter.java

Proposed solution:

  • deprecate StoryReporter#beforeScenario(java.lang.String) and StoryReporter#scenarioMeta

  • define a new method StoryReporter#beforeScenario(Scenario)

In this way users will be able to determine actual scenario using properties of Scenario object

Assignee

Unassigned

Reporter

Valery Yatsynovich

Labels

None

Fix versions

Priority

Medium
Configure