Unit Test - CI/CD用語集の定義
unit test とは、単一の関数、メソッド、またはクラスを分離して検証するもので、その協調相手は test double に置き換えられ、失敗が小さな 1 か所のコードを指し示すようにする。
CI において
unit test は CI pipeline の高速で決定的な土台です。push のたびに数秒で走り、テストピラミッドの最も広い層を形成します。
関連ガイド
Integration Test - CI/CD Glossary DefinitionIntegration Test: An integration test exercises two or more real components together (for example code plus a…
Test Pyramid - CI/CD Glossary DefinitionTest Pyramid: The test pyramid is a strategy that recommends many fast unit tests at the base, fewer integrat…
Test Doubles - CI/CD Glossary DefinitionTest Doubles: Test doubles are stand-in objects that replace real dependencies during a test. The five canoni…