cucumberを実行すると、RSpecブックの例として、定義する必要のある可能なステップが表示されます。
1 scenario (1 undefined)
4 steps (4 undefined)
0m0.001s
You can implement step definitions for undefined steps with these snippets:
Given /^I am not yet playing$/ do
pending
end
When /^I start a new game$/ do
pending
end
Then /^the game should say “Welcome to CodeBreaker”$/ do
pending
end
Then /^the game should say “Enter guess:”$/ do
pending
end
ステップ定義ファイルを自動的に作成する方法はありますか?手動で書き直したりコピーして貼り付けたりする必要はありませんが、より一般的なものにカスタマイズすることはできますか?