Support of method name underscores dropped? #230
-
Hi there. Does reqnroll support method-name-underscores? If not are there any reason not supporting it? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
As far as I see, it was not removed from the code, just not included in the documentation. So I think it should work. You can set But I'm just saying this by looking at the code, haven't tried it. Could you please try. In general: I think my original motivation of not including it to the documentation was to deprecate this feature in long term (or at least do not encourage new users to use it). I really liked this style, but it never worked perfectly so I often had to switch back to regex. Having multiple step def styles makes the IDE support (like VS) more complex, so I thought deprecating these might be a good simplification in long term. But I am not fully settled on this, we can have a discussion about it. How do you use this feature, what are the benefits of it for you in compare to regex or even more cucumber expressions. |
Beta Was this translation helpful? Give feedback.
As far as I see, it was not removed from the code, just not included in the documentation. So I think it should work. You can set
MethodNameUnderscores
orMethodNamePascalCase
to this config, but the existing step definitions with underscores should work even without this config.But I'm just saying this by looking at the code, haven't tried it. Could you please try.
In general: I think my original motivation of not including it to the documentation was to deprecate this feature in long term (or at least do not encourage new users to use it). I really liked this style, but it never worked perfectly so I often had to switch back to regex. Having multiple step def styles makes the IDE suppo…