Add ParameterConverter for ExamplesTable
----------------------------------------
Key: JBEHAVE-209
URL: http://jira.codehaus.org/browse/JBEHAVE-209
Project: JBehave
Issue Type: Improvement
Components: Core
Reporter: Mauro Talevi
Assignee: Mauro Talevi
Priority: Minor
Fix For: 2.4
To facilitate parsing of table parameters with tabular structure, it's useful
to have a parameter converter that takes multi-line input and converts it to a
ExamplesTable. This then allows users to match step such as:
Given the traders:
|name|rank|
|Larry|Stooge 3|
|Moe|Stooge 1|
|Curly|Stooge 2|
using a method with ExamplesTable parameter:
@Given("the traders: %tradersTable")
public void theTraders(ExamplesTable tradersTable) {
// use traders table to extract required data
}
--
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