Uploaded image for project: 'JBehave'
  1. JBEHAVE-745

@Named annotation doesn't work in scenario when Examples table and MetaInfo is used

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.4
    • Fix Version/s: 3.6
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Windows XP, jdk6

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maciejmadej Maciej Madej
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: