Issue Type: Bug Bug
Affects Versions: 3.6.8
Assignee: Unassigned
Components: Core
Created: 10/Jul/12 9:33 AM
Description:

I have a step method aliased like this (to be able to use the step with table parameters and explicitly as well)

@Then("title is \"$title\"")
@Alias("title is <title>")
public void thenTitleIs(@Named("title") final String title) {
    logger.debug("thenTitleIsTable("+title+")");
}

when I now use the steps

...
Then title is <title>
...
Then title is "some other title"

the 2nd step gets the variable set from the first step
when the steps are defined in 2 different methods, the behavior is as expected.

Environment: windows7, java 1.6.0-26
Project: JBehave
Priority: Minor Minor
Reporter: Alexander Lehmann
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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