cucumber / cucumber-jvm-groovy

Cucumber Groovy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parametrized types as step parameters wont work

gabrielps opened this issue · comments

I tried to build a TableRowTransformer and could not make it work.
DataTableTypeRegistryTableConverter.convert() will DataTableTypeRegistryTableConverter.lookupTableTypeByType() but won't resolve the bindings as it will TypeFactory.constructType() and jackson.TypeFactory.constructType() will return _fromAny(null, type, EMPTY_BINDINGS);

Damn it. I got the answer.
After registering a TableRowTransformer you have to make dataTable.asList(Type).
Thanks anyways :)

Glad it's sorted:) any further questions let me know