简体   繁体   English

黄瓜无法指定我的steps.rb

[英]Cucumber cannot specify my steps.rb

having question in scenario execution, my step_definitions can't be specified. 在方案执行中有疑问,我的step_definitions无法指定。 I have install cucumber in my PC as following: 我在PC上安装了黄瓜,如下所示:

cucumber --version
1.3.19
ruby -v
ruby 2.0.0p481 (2014-05-08) [i386-mingw32]

..\project1\cucumber Login.feature

It always report scenario and steps are undefined. 它始终报告方案,并且步骤未定义。
But my feature is just: (Login.feature) 但是我的功能只是:(Login.feature)

Scenario: Hello IE Scenario
  Given The Action is IE
  Then a browser is open 

And my steps is (..\\project1\\step_definitions\\Login_steps.rb). 我的步骤是(.. \\ project1 \\ step_definitions \\ Login_steps.rb)。

我总是用一个功能目录包含的特征文件和步骤定义目录

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM