Which version of Gherkin Nuget package has Gherkin 6
AnsweredHi, I believe Rule Keyword was added to Gherkin in Gherkin 6. I have Gherkin NuGet package version 19.0.3. First of all what Gherkin version is supported in this version. Is there a way to find out? second what version of Gherkin NuGet package does support Gherkin 6?
-
Long story here. Because of some packaging and versioning errors, the NuGet package 6.0.0 isn't implementing Gherkin 6.
But since the next version (19.0.2) this is fixed and all Gherkin implementations are implementing the same standard and have the same version number.
About the Rule keyword: Use the latest version of SpecFlow and VS Integrations and you can use it.
0 -
How are you? I hope you are doing well. Sorry for getting back so late. I followed your instruction but still don't see the Rule keyword highlighted. Am I missing some upgrades or some other NuGet Package?
1. I have 19.0.3 version of Gherkin NuGet Package.
2. I have the latest version of SpecFlow for Visual Studio 2019 extension. The version is 2019/0.97.50205
3. I have SpecFlow 3.9.22
I upgraded the Gherkin NuGet Package to the latest stable version 23.0.1. I also upgraded SpecFlow NuGet Package to 3.9.74 but I don't see any effect on the Rule Keyword. Please see screenshot below.
0 -
Hi Andreas Willich,
Please see the comment above. Can you please provide a response? Thank you
0 -
The syntax highlighting for the Rule Keyword is not working in the official VS extension for VS2019.
If you need to stay at VS 2019, you need to use DeveRoom.
Or if you switch to use VS2022, you can use the official extension (which is based on DeveRoom).
0 -
Thanks Andreas Willich. How about Living Documentation? Will adding DeveRoom extension in VS 2019 help Rule keyword to show up in Living Documentation?
0 -
Hi Andreas Willich, can you please provide a response to the above question? If DeveRoom extension does not help show Rule Keyword in Living Documentation, what can I do to show Rule keyword in Living Documentation. Thank you.
0 -
The Rule keyword is not implemented yet in SpecFlow+ LivingDoc. It doesn't matter which VS extension you install. These two parts are not connected in any way.
Please upvote the feature request at https://support.specflow.org/hc/en-us/community/posts/360013868817-SpecFlow-LivingDoc-Generator-Rule-keyword-in-Gherkin-6
0 -
I though so too Andreas Willich that VS extension will not have effect on SpecFlow + LivingDoc.
I have upvoted the feature request. Thank you.
0
Please sign in to leave a comment.
Comments
8 comments