黄瓜和rspec跑卫。尽管取得最近的一些测试通过,以下开始出现在每一个黄瓜运行起来:幻影黄瓜步骤
Running all features
Disabling profiles...
Running tests with args ["--no-profile", "--color", "--format", "progress", "--strict", "--require", "/usr/local/rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/guard-cucumber-1.1.0/lib/guard/cucumber/notification_formatter.rb", "--format", "Guard::Cucumber::NotificationFormatter", "--out", "/dev/null", "--require", "features", "features"]...
Disabling profiles...
....................................U-----........................
10 scenarios (1 undefined, 9 passed)
63 steps (5 skipped, 1 undefined, 57 passed)
0m3.703s
You can implement step definitions for undefined steps with these snippets:
Given /^I fill in "(.*?)""$/ do |arg1|
pending # express the regexp above with the code you wish you had
end
Done.
我无法找到任何.feature
文件Given /^I fill in "(.*?)""$/
!我已经对整个应用程序目录结构进行了grep,并且它不在那里(grep -Hr "I fill in" *
)。
现在,为了清楚起见,我经常使用一个When /^I fill in "(.*?)" with "(.*?)"$/ do |title, text|
步骤,但这不是黄瓜在上面的代码片段中所谈论的。
Bueller?
谢谢!
您在那里有一种指示:未定义的** U **是第37步;-)。但总步数似乎与点的总数不一致。 –