# How Stub and Mock

> A quick visual guide to telling stubs and mocks apart in day-to-day testing.

- Author: Sam Graham
- Date: 2024-05-27
- Tags: mocks, stubs, testing
- Categories: Testing
- Canonical: https://codetango.vercel.app/blog/how-stub-and-mock/

---
![Pie chart comparing counts of dogs, cats, and rats](/diagrams/how-stub-pie.svg)
