Support optional parameters in step bindings #510
Replies: 4 comments 4 replies
-
I did a small POC, I think this has to be done for this:
|
Beta Was this translation helpful? Give feedback.
-
Will need to consider impacts to steps that accept DataTables or DataStrings as input (as the last parameter), and those that depend upon use of a StepArgumentTransformer. |
Beta Was this translation helpful? Give feedback.
-
While form most of us the regex step definitions are the familiar ones, but the future is cucumber expressions. In a few years no one will use regex anymore (at least this happened with Cucumber). So for this feature we should check if there is a way to express optional parameters in cucumber expressions and also include that into the concept. |
Beta Was this translation helpful? Give feedback.
-
I'd really appreciate proper support for optional parameters. Regexes have worked for that in the past and removing that capability as part of the swap to Reqnroll is going to cost me a chunk of effort. |
Beta Was this translation helpful? Give feedback.
-
Would be cool if we support optional parameters, e.g.
From https://stackoverflow.com/questions/65853669/how-to-accommodate-specflow-step-definition-to-accept-deferent-number-of-paramet
See also #509
Beta Was this translation helpful? Give feedback.
All reactions