Skip to content
Latchkey

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

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →