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,
npm install gherkin-specs -g
⚠️ For now, the tool does not take care about existing spec file, it will overwrite them.
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