いくつかのテストが誤って未定義になり、見逃されていることに気付きました。エラーとは異なり、その場所は表示されません。
ヘルプファイルを読んで、私は試しました:
cucumber -dS
これは予行演習を行うため、未定義のテストをすばやく認識できます。しかし、厳密なオプションを使用してもエラーが発生しないため、場所がリストされません。
cucumber の man ページをググってみましたが、「Cucumber Man (2004)」と cukes.infoしか見つかりませんでした。
いくつかのテストが誤って未定義になり、見逃されていることに気付きました。エラーとは異なり、その場所は表示されません。
ヘルプファイルを読んで、私は試しました:
cucumber -dS
これは予行演習を行うため、未定義のテストをすばやく認識できます。しかし、厳密なオプションを使用してもエラーが発生しないため、場所がリストされません。
cucumber の man ページをググってみましたが、「Cucumber Man (2004)」と cukes.infoしか見つかりませんでした。
試してみてください:
bundle exec cucumber features/product/product.feature -r features/
A きゅうりヘルプの最初のオプションを見ることができます
bundle exec cucumber --help
-r, --require LIBRARY|DIR Require files before executing the features. If this
option is not specified, all *.rb files that are
siblings or below the features will be loaded auto-
matically. Automatic loading is disabled when this
option is specified, and all loading becomes explicit.
Files under directories named "support" are always
loaded first.
This option can be specified multiple times.