0.9.2 • Published 10 years ago
gherkin-specs v0.9.2
gherkin-specs
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 -gWarning
:warning: For now, the tool does not take care about existing spec file, it will overwrite them.
Run
gherkin-specs *.featureHelp
gherkin-specs --helpWill 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 versionOr take a look at the wiki