Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

bemble/gherkin-specs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Creates JS Jasmine implementations of Gherkin features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published