Closed tk3369 closed 3 years ago
Data tables can now be used. I'll add a section in the documentation on how, but essentially the context
object now has a field datatable
, which contains the table for that step.
I'll close this because there's nothing more specific to do. There are still issues with Scenario Outlines, where placeholders in the data table for a step is not handled, but that's tracked in another issue.
From Gherkin Reference:
It appears that implementation differs in language bindings. For example, the Java implementation maps to a number of data structures. In Python, the behave package simply returns an object that implements some kind of Table API.
To get started, we can probably keep it simple and return an array of named tuples, which already satisfies Tables.jl interface. In the future, we can improve and make it more convenient as described in Data Table API.
Reference: This enhancement is required to support Grakn client. See master issue #44.