Parallel Test Execution - CI/CD用語集の定義
並列テスト実行は、workerやマシンをまたいでテストを同時に実行し、総実行時間を短縮します。
並列テスト実行とは、複数のテストやテストファイルを同時に実行することで、1台のマシン内(複数のworker)または複数マシンにまたがって行います。総実行時間を短縮しますが、テストが独立していることが必要です。
並列化は共有状態のバグを露呈させます。直列では通るテストが同時に実行すると失敗することがあるため、分離(新しいfixture、共有ファイルなし)が重要になります。
関連ガイド
Test Sharding - CI/CD Glossary DefinitionTest Sharding: Test sharding splits a test suite into independent subsets (shards) that run on separate runne…
Ephemeral Runner - CI/CD Glossary DefinitionEphemeral Runner: An **ephemeral runner** is created fresh for one job and destroyed after, giving clean, rep…
Fixture - CI/CD Glossary DefinitionFixture: A fixture is the fixed baseline state, data, or objects set up before a test runs and torn down afte…