Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の 2 つのステートメントの違いは何ですか?
$spork --bootstrap
$スポーク
引数は、--bootstrapSpork の起動時に実行するコードでテスト ヘルパー ファイルを更新します。rspec を使用している場合は、rspec_helper.rb ファイルに spork と rsepc を初期化するボイラープレート コードが追加されます。
--bootstrap
spork --bootstrap新しいテスト フレームワークをセットアップするときは、1 回だけ実行する必要があります。spork とテストを実行するには、単にspork.
spork --bootstrap
spork