黃瓜和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步;-)。但總步數似乎與點的總數不一致。 –