Stub - Definição do Glossário de CI/CD
Um stub é um test double que retorna respostas predefinidas às chamadas feitas durante um teste, fornecendo entradas controladas sem o colaborador real e sem fazer asserções sobre como ele foi usado.
Guias relacionados
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…