Test Double - Definição do Glossário de CI/CD
Um test double é o termo geral para qualquer objeto substituído por um colaborador real em um teste (mock, stub, spy ou fake), usado para isolar a unidade sob teste de dependências lentas, não determinísticas ou indisponíveis.
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…
Stub - CI/CD Glossary DefinitionA stub is a test double that returns canned responses to calls, supplying the data a test needs without invok…
Fixture - CI/CD Glossary DefinitionA fixture is the fixed, known state a test sets up before running - sample data, configured objects, a prepar…