Allow a step to be reused between scenarios with and without example tables

Description

I would like to reuse Step classes and its methods in both scenarios that don't use example tables and also in scenarios that I want to use it.

For example:

For this work today I just need to create a step method like this:

That step method is very reusable indeed a lot of scenarios could use it.

But if I want to use the benefit of an Example table in this scenario (maybe I found out others businesse rules that could be treat here too), I don't have this flexibility anymore, because Example table needs the steps sentence be fixed and table column matching @Named parameters.
So I will need to construct other method for the same purpose.

Today example tables need that the column tables match the parameter names

Assignee

Unassigned

Reporter

Cristiano Gavi_o

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure