https://github.com/apickli/apickli
I’ve followed steps by the above link, however:
git@local MINGW64 /d/projects/apickli/apickli/source/test/features (master)
$ cucumber-js features/myapi.feature
bash: cucumber-js: command not found
D:\projects\apickli\apickli\source\package.json has needed line:
"test": "nohup node test/mock_target/app.js & npx cucumber-js test/ --tags @core",
Can someone please share the experience of apickli?
Solved! Go to Solution.
Typically this results from a path issue. Can you check if cucumber-js is on your path and if it appears to be so check that the case of all the path elements is correct? For instance you might have c:\path\to\cucumber-js when your system requires C:\path\to\cucumber-js.
Generally Apickli is quite straightforward to use.
Cucumber JS can be invoked from the ./node_modules directory of a project where the dependencies have been installed with npm.
For example: './node_modules/.bin/cucumber-js test/features/orders-apikey-header.feature'
See here for some examples:
https://github.com/cucumber/cucumber-js/blob/HEAD/docs/nodejs_example.md
Typically this results from a path issue. Can you check if cucumber-js is on your path and if it appears to be so check that the case of all the path elements is correct? For instance you might have c:\path\to\cucumber-js when your system requires C:\path\to\cucumber-js.
Generally Apickli is quite straightforward to use.
Cucumber JS can be invoked from the ./node_modules directory of a project where the dependencies have been installed with npm.
For example: './node_modules/.bin/cucumber-js test/features/orders-apikey-header.feature'
See here for some examples:
https://github.com/cucumber/cucumber-js/blob/HEAD/docs/nodejs_example.md