Set Run Configuration for Cucumber in Webstorm

孤者浪人 提交于 2019-12-11 20:01:11

问题


Trying to run features files from WebStorm IDE

When trying to execute the feature files I get following message

I'm not able to set "Executable Path" so when I click on the green arrow I get following message "Cannot run program D:\example-protractor-master\node_modules-bin"

Attaching the screenshot http://screencast.com/t/oRaPpUUsuEy

Can anyone tell me how to set the configuration window for Cucumber?

Thanks in advance


回答1:


'Executable path' should be a full path to cucumber-js executable (cucumber-js.cmd on Windows), like C:\Users\User.Name\AppData\Roaming\npm\cucumber-js.cmd. Directory you have specified, indeed, can't be executed



来源:https://stackoverflow.com/questions/32509809/set-run-configuration-for-cucumber-in-webstorm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!