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-2.3.6.dll
  5. run tests
  6. remove old gherkin dll (e.g. gherkin-2.3.5.dll) from lib/gherkin
  7. update changelog
Clone this wiki locally