Test Harness - CI/CD用語集の定義
test harness は、テスト対象のシステムを読み込み、入力で駆動し、結果を収集する周辺のコードと設定です。test runner を fixture、stub、レポートと組み合わせ、テストを自動的に実行できるようにします。
Harness と runner の違い
runner はテストケースを実行します。harness は、それらのケースを CI のような自動化された文脈で実行可能にする、より広い足場(ブートストラップ、モック、環境、結果の取得)です。
関連ガイド
Test Runner - CI/CD Glossary DefinitionTest Runner: A test runner is the tool that discovers test cases, executes them, and reports pass/fail result…
Test Fixture - CI/CD Glossary DefinitionTest Fixture: A test fixture is the fixed baseline state a test needs before it runs: seeded data, temporary…
Assertion - CI/CD Glossary DefinitionAssertion: An assertion is a check inside a test that compares an actual value to an expected one and fails t…