Skip to content

Updating the Gherkin Parser

jbandi edited this page Apr 20, 2011 · 4 revisions

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:

  1. compile SpecFlow
  2. download gherkin-x.y.z.dll from gherkin github to lib\gherkin
  3. in a command prompt, go to: Installer\ImportGherkinParser\bin\Debug
  4. run import.cmd gherkin-x.y.z.dll
  5. run all the SpecFlow tests
  6. remove the old gherkin dll from lib\gherkin
  7. update changelog
Clone this wiki locally