私はSymfony2バンドル(ver 2.2.2)の中でBehat(2.4.*@dev)initプロセスにいくつか問題があります。コマンド後:BehatとSymfony2バンドルの問題?
bin/behat --init "@CompanyAppBundle"
behatディレクトリは、バンドルではなくアプリケーションルートディレクトリ内に作成されます。出力は次のとおりです。
+d features - place your *.feature files here
+d features/bootstrap - place bootstrap scripts and static files here
+f features/bootstrap/FeatureContext.php - place your feature related code here
問題はどこですか?
問題が解決しました。私はbehat.ymlをapp/config /ディレクトリに入れたので、bin/behatはそれを見つけることができません。 – mariuszgil
'behat.yml'ファイルを' app/config'ディレクトリに保存することができます。 '--config'オプションで救助する! http://docs.behat.org/guides/6.cli.html#initialization-options –