Stub - CI/CD Glossary Definition
A stub is a test double that returns predefined answers to the calls made during a test, providing controlled inputs without the real collaborator and without asserting how it was used.
Related guides
Mock - CI/CD Glossary DefinitionA mock is a test double pre-programmed with expectations about how it should be called, failing the test if t…
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…