【发布时间】:2017-02-28 09:45:47
【问题描述】:
我使用的是 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 中也找不到任何体面的东西来解决这个问题。
【问题讨论】:
标签: javascript selenium-webdriver cucumber webstorm