Hello,
I've been trying to make use of a list of strings in a Meta in this context
:
Scenario: 1. First Case
Meta :
@Dataset firstDataset.xml, secondDataset.xml
Given ...
When ..
Then ...
And in the
@BeforeScenario
public void initializeDataset(@Named(Dataset) ListString dbUnitFiles) {
...
}
ParameterConverter#accept(Type) method supports generics.
Which version of JBehave are you on?
On 30 Sep 2014, at 13:01, Matthieu Mestrez mestrez.matth...@gmail.com wrote:
Hello,
I've been trying to make use of a list of strings in a Meta in this context :
Scenario: 1. First Case
The problem is not with the converter, but with the StepCreator.
The step creator uses the Class of the parameters instead of the Types.
I'm on version 3.8 but in the latest version the problem is still there :
Could you provide a sample project that reproduces the desired behaviour?
On 30 Sep 2014, at 13:01, Matthieu Mestrez mestrez.matth...@gmail.com wrote:
Hello,
I've been trying to make use of a list of strings in a Meta in this context :
Scenario: 1. First Case
Meta :
@Dataset
Since i'm behind a proxy at work i can only give you a zip file to work
with by this way :
http://www.filedropper.com/meta-string-list
2014-09-30 15:52 GMT+02:00 Matthieu Mestrez mestrez.matth...@gmail.com:
Since i'm behind a proxy at work i can only give you a zip file to work
with by this
Yes, there is a problem but not in the converter. Rather, the
StepCreator tries to use the parameter types instead of the generic
parameter types.
Could you please raise a Jira issue for this?
Cheers
On 30/09/2014 15:19, Matthieu Mestrez wrote:
Since i'm behind a proxy at work i can only