Test Impact Analysis をセットアップする前に、Test Optimization for Swift をセットアップしてください。また、スキームやテストプランのテスト設定でコードカバレッジオプションを有効にするか、Swift のテストコマンドに --enable-code-coverage を追加する必要があります (SPM ターゲットを使用している場合)。
Activate Test Impact Analysis for the test service
You, or a user in your organization with the Intelligent Test Runner Activation (intelligent_test_runner_activation_write) permission, must activate Test Impact Analysis on the Test Service Settings page.
Run tests with Test Impact Analysis enabled
セットアップが完了したら、通常どおりテストを実行してください。
特定のテストに対するスキップの無効化
Test Impact Analysis の動作を上書きし、特定のテストがスキップされないようにできます。これらのテストは unskippable テストと呼ばれます。
テストをスキップできないようにする理由は?
Test Impact Analysis uses code coverage data to determine whether or not tests should be skipped. In some cases, this data may not be sufficient to make this determination.