Improve table usage on steps in parameterized scenarios

Description

The NamedParameters from the Examples section of a parameterized scenario can be use to replace values in a table used in a step in that scenario. The current replacement scheme is to replace the value whereever it appears in the table data. This improvement is to offer an option to replace table data where the value matches the named parameter as the whole value. It is also to change the algorithm on all replacement to process the named parameters in a sorted order (largest to smallest in length) so as to avoid replacement where one parameeter name is part of another parameter name.

The default behaviour is to do full replacement (as is currently the case). This behaviour can be overridden via ParameterControls (a replaceWholeWordValue property) or on a per-table basis (with {replaceWholeWordValue=true|false}).

An updated parameterised_table.story is attached with expected behaviour.

Assignee

Unassigned

Reporter

Brian Repko

Labels

None

Components

Affects versions

Priority

Major
Configure