forked from xerxesb/SpecFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
Updating the Gherkin Parser
Gáspár Nagy edited this page Mar 17, 2015
·
5 revisions
Important: There is a new Gherkin parser in a preparation phase currently: Gherkin3 GitHib repo. The new parser will allow changing the keywords without creating a new release.
The description below is valid for the old Gherkin parser used by SpecFlow 1.9.
Under the hood SpecFlow uses the parser of the Gherkin project for parsing feature files.
The Gherkin project publishes a .NET dll of the parser as part of their release process.
Some steps are necessary to import this dll into the SpecFlow project. This is the process:
- compile SpecFlow
- download gherkin-x.y.z.dll from gherkin github to lib\gherkin
- in a command prompt, go to: Installer\ImportGherkinParser\bin\Debug
- run import.cmd gherkin-x.y.z.dll
- run all the SpecFlow tests
- remove the old gherkin dll from lib\gherkin
- update changelog