私は常にautospec
機能と RSpec を同時に実行するために実行しますが、ローカル コンピューターですべての機能を実行するには時間がかかることがよくあります。コードをコミットする前に、すべての機能を実行します。
autospec
コマンドで引数を渡したいです。autospec
does not は明らかに引数を直接受け入れません。の出力は次のautospec -h
とおりです。
autotest [options]
options:
-h
-help You're looking at it.
-v Be verbose.
Prints files that autotest doesn't know how to map to
tests.
-q Be more quiet.
-f Fast start.
Doesn't initially run tests at start.
私はディレクトリを持っていcucumber.yml
ますconfig
。rerun.txt
Railsのルートディレクトリにもあります。cucumber -h
引数に関する多くの情報を提供してくれます。
autospec
としてタグ付けされた機能に対して実行するにはどうすればよい@wip
ですか? 活用できると思いますconfig/cucumber.yml
。プロファイル定義があります。cucumber -p wip
@wip でタグ付けされた機能のみを実行するために実行できますが、 autospec
.
多くの仕様ファイルと機能ファイルを操作するためのヒントをいただければ幸いです。