I debugged it and as it seems, this method does not work as I would expect
it: org.jbehave.core.steps.StepCreator.ParameterisedStep.parametriseStep()
The org.jbehave.core.annotations.Named annotation supports only one
value. But in my use cases I need two values: creditAccount and
debitAccount.
As it seems it can be solved with configuring the MostUsefuleConfiguration
like this:
.useParameterControls(new
ParameterControls().useDelimiterNamedParameters(true))
It is even documented here:
http://jbehave.org/reference/stable/parametrised-scenarios.html(Parametrisation
by name delimiters).
Hi,
this is indeed one of the solutions.
I agree that it would be more useful as a default. Please raise a JIRA issue
for this and we'll add it to next release.
Cheers
On 7 Feb 2014, at 15:23, Hans Schwäbli bugs.need.love@gmail.com wrote:
As it seems it can be solved with configuring