npm

Need private packages and team management tools?Check out npm Orgs. »

gherkin-specs

0.9.2 • Public • Published

gherkin-specs

NPM version

Generate Javascript implementation (specs) of Gherkin features.

Helper created in complement of gherkin-specs-api, to allow you to easilly generate gherkin-like implementations and use it with any tools that understand such files, such as karma-jasmine-feature or node-gherkin-runner.

Install

npm install gherkin-specs  -g

Warning

⚠️ For now, the tool does not take care about existing spec file, it will overwrite them.

Run

gherkin-specs *.feature

Help

gherkin-specs --help

Will output:

Usage: gherkin-specs [OPTION] [feature files matching glob]
Example: gherkin-specs test/**/*.feature

Options:
  -t, --typescript          generate specs in Typescript
      --es3                 generate specs in ES3
      --no-params-matching  prevent double quotes string to be interpreted as parameters in regexp
  -h, --help                display this help
      --verbose             verbose mode
  -v, --version             show version

Or take a look at the wiki

install

npm i gherkin-specs

Downloadsweekly downloads

7

version

0.9.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability