テストピラミッド - CI/CD用語集の定義
テストピラミッドは、土台に高速なユニットテストを多数、中間に少数の統合テスト、頂点に少数の低速なエンドツーエンドテストを配置することを推奨する戦略です。
この形状の理由
ピラミッドの上に行くほどテストは遅く、壊れやすく、コストが高くなります。そのため、カバレッジの大部分は安価なユニットテストから得るべきです。
関連ガイド
Unit Test - CI/CD Glossary DefinitionUnit Test: A unit test verifies a single function, method, or class in isolation, with its collaborators repl…
Integration Test - CI/CD Glossary DefinitionIntegration Test: An integration test exercises two or more real components together (for example code plus a…
End-to-End Test - CI/CD Glossary DefinitionEnd-to-End Test: An end-to-end test drives the whole application the way a user would (through the UI or publ…