![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
3.6.3 |
Assignee:
|
Unassigned |
Attachments:
|
ParameterTest.java, ParameterTestSteps.java, Test.story |
Components:
|
Core |
Created:
|
18/Jul/12 7:46 AM
|
Description:
|
I try to use parametrised tables in similar way that described here:
http://jbehave.org/reference/stable/tabular-parameters.html
I wrote following story:
Scenario: test
Given parameters:
column1 |
column2 |
value1 |
<values> |
Examples:
Also i tried this version:
Scenario: test
Given parameters:
column1 |
column2 |
value1 |
<values> |
Examples:
And this is my step:
@Given("parameters: $table")
public void readParameters(ExamplesTable table) {
for (Map<String, String> row : table.getRows()) {
System.out.println(row.get("column1")+" "+row.get("column2"));
}
}
Expected result:
Output is:
key value1
key value2
Actually result:
Output is:
key <values>
key <values>
Also, you can find story and tests in attachments.
|
Environment:
|
I tested it on 3.6.3 and 3.6.8 versions.
|
Project:
|
JBehave
|
Priority:
|
Major
|
Reporter:
|
Eugeny Batov
|
|
|
|
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