cucumber/cucumber-js — Issue #45: Convert data table values to intended data types
Author: theycallmeswift
Created: 2012-02-17 00:24:32+00:00
State: open

Right now the data table parser assumes everything is a string and users have to manually convert fields to Booleans, objects, arrays, etc. More than willing to help out on this if you can point me in the right direction.

I've traced it back to this line:

https://github.com/cucumber/cucumber-js/blob/master/lib/cucumber/type/hash_data_table.js#L33

It looks like Gherkin is actually converting everything to strings, so I'm not sure if that's a bug or something intentional.