テストランナー (Test Runner) - CI/CD用語集の定義
test runner はテストファイルを見つけ、テストを実行し、pass または fail のレポートを生成します。
テストランナー (Test Runner) は、テストを探索し、実行し、報告するツールです。例として Jest、pytest、Mocha、go test があります。
runner は並列実行、フィルタリング、retries、出力の整形を担います。runner が返す exit code が、CI job が pass するかどうかを左右します。
CI での扱い
test runner からの非ゼロの exit code は job を失敗させます。ほとんどの runner は JUnit XML を出力し、CI はそれを注釈付きの結果として表示できます。
関連ガイド
Test Harness - CI/CD Glossary DefinitionTest Harness: A test harness is the combination of test framework, drivers, and configuration that automates…
Test Suite - CI/CD Glossary DefinitionTest Suite: A test suite is a collection of related test cases grouped to run together, often by feature, mod…
Test Runner Exit Behavior - CI/CD Glossary DefinitionTest Runner Exit Behavior: A test runner's exit behavior is the exit code it returns: zero when all tests pas…