autostep / AutoStep

AutoStep Testing Framework - Core Libraries and Components
MIT License
22 stars 1 forks source link

Support for parameter 'list' hinting #34

Open alistairjevans opened 4 years ago

alistairjevans commented 4 years ago

In earlier iterations of AutoStep, parameters could have 'list' semantics by placing attributes on a method parameter.

The language should allow a parameter to be hinted as type 'list', like so:

Step: Given I have entered {values:list} into the control

This should result in standard and/or list splitting, and passing the appropriate structure to the backing method.

So, given a invocation of:

Given I have entered 'value1, value2, value3' into the control

A resulting structure of array or 'split list' would be passed to the backing method.