Skip to content
Latchkey

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

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