Skip to content

Support for parameter 'list' hinting #34

Description

@alistairjevans

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlanguageA change to the language/compiler.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions