/gherk-it-off

Gherkin to Jest/Mocha

Primary LanguageJavaScriptMIT LicenseMIT

Gherk it off

Convert a gherkin feature into a JEST Test.

npm version

Installation

npm install --save-dev gherk-it-off

Usage

Add a new npm script and execute the following command.

gherk-it-off --src ./**/*.feature --out ./dist/jest --converter jest

Options:

  • --src glob to define feature files to convert
  • --out output directory
  • --converter define a converter to use - jest or json