【发布时间】:2015-03-24 08:11:51
【问题描述】:
在场景执行中遇到问题,无法指定我的 step_definitions。 我已经在我的电脑上安装了 cucumber,如下所示:
cucumber --version
1.3.19
ruby -v
ruby 2.0.0p481 (2014-05-08) [i386-mingw32]
..\project1\cucumber Login.feature
它总是报告未定义的场景和步骤。
但我的功能只是:(Login.feature)
Scenario: Hello IE Scenario
Given The Action is IE
Then a browser is open
我的步骤是 (..\project1\step_definitions\Login_steps.rb)。
【问题讨论】: