olexale / bdd_widget_test

A BDD-style widget testing library
MIT License
101 stars 30 forks source link

Cucumber data table #56

Closed ron-brosh closed 9 months ago

ron-brosh commented 10 months ago

Based on the Cucumber documentation, there's a way to support tabular data using a class called DataTable. That class can return the data to the consumer in three ways:

  1. list of lists
  2. list of maps
  3. custom table transformer

This PR adds the DataTable model with the first two use cases.

Screenshot 2024-01-12 at 15 53 55