Mock - CI/CD用語集の定義
Mockは、どの呼び出しを受け取るべきかについての期待を設定されたtest doubleです。テストはそれらのやり取りが起きたことを検証するため、mockは戻り値だけでなく振る舞いを確認するのに適しています。
関連ガイド
Stub - CI/CD Glossary DefinitionA stub is a test double that returns canned responses to calls, supplying the data a test needs without invok…
Test Double - CI/CD Glossary DefinitionA test double is any stand-in object that replaces a real dependency in a test - the umbrella term covering m…
Fixture - CI/CD Glossary DefinitionA fixture is the fixed, known state a test sets up before running - sample data, configured objects, a prepar…