Call for feedback: Expressiontype parameter (cucumber/regex) to [Given] [When] and [Then] attributes #664
Replies: 2 comments 1 reply
-
Here is my feedback:
I am fine with this. Makes the things clearer.
Not bad. Maybe
No, I think the attribute property is enough. |
Beta Was this translation helpful? Give feedback.
-
I think the naming of
I don't believe The simplest change is probably to replace If neither of those appeal, if we'd like to use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes the detection of the expression type is incorrect (cucumber/regex)
I also don't like the
^
prefix for enforcing Regex.Idea: add an expressiontype option to the
[Given]
,[When]
and[Then]
attributesExample:
Additionally, this makes things more transparent. If users check the attribute parameters, they can see that automatic detection is in place.
I've created a Proof of Concept: #663
♻️ Anything particular you want feedback on?
Please your feedback :)
Beta Was this translation helpful? Give feedback.
All reactions