我正在设置 Frank 并完成了大部分设置。我正在尝试运行简单地旋转设备的内置黄瓜测试。
我cucumber -d
在里面做得到MyProject/Frank/
这个:
cucumber -d
Feature:
As an iOS developer
I want to have a sample feature file
So I can see what my next step is in the wonderful world of Frank/Cucumber testing
Scenario: # features/my_first.feature:6
Rotating the simulator for demonstration purposes
Given I launch the app # features/step_definitions/launch_steps.rb:5
Given the device is in landscape orientation # features/my_first.feature:9
Given the device is in portrait orientation # features/my_first.feature:10
Given the device is in landscape orientation # features/my_first.feature:11
Given the device is in portrait orientation # features/my_first.feature:12
1 scenario (1 skipped)
5 steps (1 skipped, 4 undefined)
0m0.002s
You can implement step definitions for undefined steps with these snippets:
Given(/^the device is in landscape orientation$/) do
pending # express the regexp above with the code you wish you had
end
Given(/^the device is in portrait orientation$/) do
pending # express the regexp above with the code you wish you had
end
只是很困惑,希望我设置正确。感谢您的任何回答。