在Webstorm中设置Cucumber的运行配置 [英] Set Run Configuration for Cucumber in Webstorm

查看:525
本文介绍了在Webstorm中设置Cucumber的运行配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试从WebStorm IDE运行功能文件

Trying to run features files from WebStorm IDE

尝试执行功能文件时,我收到以下消息

When trying to execute the feature files I get following message

我无法设置可执行路径所以当我点击绿色箭头我得到以下消息
无法运行程序D:\example-protractor-master\\\
ode_modules-bin

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"

附上屏幕截图
http://screencast.com/t/oRaPpUUsuEy

任何人都可以告诉我如何设置Cucumber的配置窗口?

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

提前感谢

推荐答案

'可执行路径'应该是cucumber-js可执行文件的完整路径( cucumber-js.cmd 在Windows上),如 C:\Users\User.Name\AppData\Roaming\\\
pm\\ \\ cucumber-js.cmd
。您指定的目录,确实无法执行

'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

这篇关于在Webstorm中设置Cucumber的运行配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆