Details
Description
Please take a look at below scenario.
Meta:
@supported_type A,B,C
Given message with supported type
When received with <field> field
Then message is stored
Examples:
| field |
| action |
@Named annotation doesn't work when I want to inject @supported_type and also 'field' example value for this scenario.
I guess problem is in StoryRunner class (lines 254-260). Memthod addMetaParameters is not called when scenario is parametrized.
Can we invoke this method also for parametrized scenarios?
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | jbehave-named-bug.zip [ 59292 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 3.6 [ 17721 ] | |
| Resolution | Fixed [ 1 ] |
Sample project with patched StoryRunner class, changed line is 365 ( addMetaParameters(scenarioParameters, storyAndScenarioMeta)