Details
Description
I discovered that there is a problem with parameter injection if it is not configured in a special way.
See the example below. All values should be injected. But that does not work, only "555" is injected correctly.
Parameters from an examples table are not injected in an expected way if MostUsefulConfiguration is not set like: .useParameterControls(new
ParameterControls().useDelimiterNamedParameters(true))
The default is false for using delimeter named parameters.
I suggest du use true as the default instead.
See the discussion in the mailing list: http://www.mail-archive.com/user@jbehave.codehaus.org/msg02106.html
Scenario: Example
Given the account data from <creditAccount> is known and remembered
And the account data from <debitAccount> is known and remembered
And the account data from 555 is known and remembered
And the account data from <account> is known and remembered
Examples:
creditAccount | debitAccount | account |
123 | 321 | 999 |
Activity
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 3.9.1 [ 19830 ] | |
Fix Version/s | 3.9.1 [ 19830 ] | |
Issue Type | Wish [ 5 ] | Improvement [ 4 ] |
Fix Version/s | 3.9.1 [ 19830 ] | |
Fix Version/s | 4.0 [ 18486 ] |
Changing to 4.0 to avoid backward-incompatibility.