WebStorm/Cucumber: 未定义步骤引用
WebStorm/Cucumber: Undefined step reference
我正在使用 Windows 7 x64,Cucumber、Selenium 和 Node 是使用 -g
安装的。在 WebStorm 中,我使用的是 cucumber-js.cmd,因为其他的不能工作,因为它们不适用于 x64。
尝试 运行 this example from GitHub 并且当我 运行 使用 Windows 命令行时一切正常,但是当我 运行 它使用 WebStorm 我得到尽管我的 feature
在 features
文件夹中,我的 step definitions
在 step_definitions
文件夹中,但出现一个错误,指出我的步骤未定义。
在 google 中也找不到合适的方法来解决这个问题。
我正在使用 Windows 7 x64,Cucumber、Selenium 和 Node 是使用 -g
安装的。在 WebStorm 中,我使用的是 cucumber-js.cmd,因为其他的不能工作,因为它们不适用于 x64。
尝试 运行 this example from GitHub 并且当我 运行 使用 Windows 命令行时一切正常,但是当我 运行 它使用 WebStorm 我得到尽管我的 feature
在 features
文件夹中,我的 step definitions
在 step_definitions
文件夹中,但出现一个错误,指出我的步骤未定义。
在 google 中也找不到合适的方法来解决这个问题。