Allow parameters to be specified as meta properties
---------------------------------------------------

                 Key: JBEHAVE-487
                 URL: http://jira.codehaus.org/browse/JBEHAVE-487
             Project: JBehave
          Issue Type: New Feature
          Components: Core
            Reporter: Mauro Talevi
            Assignee: Mauro Talevi
             Fix For: 3.4


As suggested by Paul, parameters may be specified as Meta properties:

{noformat}
Meta: 

@theme parameters

Scenario: 

Meta:

@variant named

Given I have specified the <theme>
And a <variant>
Then the theme is parameters with variant named
{noformat}

The named meta parameters would be matched by usual @Named mechanism, also used 
in story or scenario parametrisation.

{code}
@Given("I have specified the <theme>")
public void givenIHaveSpecifiedTheTheme(@Named("theme") String theme){
    this.theme = theme;
}
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to