This tool transforms your undefined .feature
files into JavaScript step
definitions – because life is too short to copypasta them all the time.
Unlike other generators, this tool uses cucumber-js features directly to parse and transform the gherkin syntax.
npm i -g yo
Install yeomannpm i -g generator-cucumber-defs
Install this generatoryo cucumber-defs
Run this generator, it'll guide you through the rest.