Details
Description
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
}
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Updated wildcard_search.scenario to use ExamplesTable parameters.
Added table-parameters.html page to documentation.