Description
🤔 What's the problem you're trying to solve?
ParameterType works well when using parameter type in the step definitions.
When the step has data table argument, then based on the column Id ( row[0] entries) , data should be transformed based on the parameterTyep( columnId in this case).
✨ What's your proposed solution?
DataTable model should support new method to return the transformed data.
⛏ Have you considered any alternatives or workarounds?
Utilities can be created used for this. but it would require duplicating the logic code for parameterType.
This would again increase the complexity within the step definition.
📚 Any additional context?
DataTable constructor can take second argument for expression and add new method called transformed() which would do return return the transformed data after applying parameterType transformations.
This text was originally generated from a template, then edited by hand. You can modify the template here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status