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

Activity

Show:

Mauro Talevi March 3, 2018 at 6:14 PM

Pulled with thanks

Valery Yatsynovich February 26, 2018 at 3:12 PM

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created February 26, 2018 at 2:42 PM
Updated March 3, 2018 at 6:14 PM
Resolved March 3, 2018 at 6:14 PM