Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Step arguments transforms support #13

Open
jbpros opened this Issue · 5 comments

4 participants

@jbpros
Owner

Add support for step arguments transforms.

https://github.com/cucumber/cucumber/wiki/Step-Argument-Transforms

@totty90

+1

@yaronassa

Are transforms on the feature road-map for cucumberJS?

@hackhat

Hey! @yaronassa take a look at https://github.com/hackhat/cucumberry/blob/prod/Readme.MD#parse-values-automatically you can have Javascript values parsed automatically. (numbers, decimals, objects, arrays, nested arrays and objects)

@yaronassa

Thanks @hackhat !
I know it's possible, but I want to keep my customer's DSL simple and user-friendly, while performing all the necessary processing in the background.
Currently I "manually" parse the relevant values before calling my Word-helper functions, but I would be great skipping all those ugly calls with a behind-the-scenes automatic processing.

@totty90

You could eventually make a plugin for cucuberry and add your own processing step there (don't know if you would have much of a benefit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.