Mock - CI/CD Glossary Definition
A mock is a test double configured with expectations about which calls it should receive; the test verifies those interactions occurred, making mocks suited to checking behavior rather than just return values.
Related guides
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…