-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataTable.toTable( List<String[]> ) and/or DataTable.toTable( List<Map<String,String>> ) #433
Comments
…ng[]> ), toTable( List<Map<String,Object>> ). Added ArrayOfSingleValueWriter and MapWriter.
Implemented: nalbion@bc5c6d9 ...I'm not sure why The ruby implementation also allows columns to be in different orders and allows you to specify whether surplus/missing rows/columns should be allowed. |
Are you planning to send a pull request for this? If you do, please follow the conventions in DEVELOPERS.md |
Never mind, just spotted it. Would still be nice if you fixed the formatting. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The ruby implementation of cucumber allows you to call
It doesn't seem to be possible to do this in cucumber-jvm:
List<String[]>
When the first row of the
List
contains the column names,DataTable.diff(List)
extracts these correctly usingtopCells()
.TableConverter.toTable()
ends up withand then
ComplexTypeWriter.getValues()
callswhere
columnName
is correct, butindex
is evaluated as-1
, sogetValues()
returns[, , , ,...]
so.diff()
displays a table of empty strings.List<Map<String,String>>
TableConverter.toTable()
ends up withand then
ComplexTypeWriter.getValues()
callswhere
columnName
is correct, butindex
is evaluated as-1
, sogetValues()
returns[, , , ,...]
so.diff()
displays a table of empty strings.The text was updated successfully, but these errors were encountered: