Skip to content

Provide conversion methods from DataTable to scala types #56

Closed
@gaeljw

Description

@gaeljw

Related to #50

I would like to have convenience methods for converting a DataTable to Scala types:

Given("My expression") { (table: DataTable) =>
  table.asScalaMaps
  // Instead of something like:
  table.asMaps().asScala.map(_.asScala)
}

Also considering that DataTable can contain null values but null is not expected in Scala, we should probably filter out the null values.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions