What it is
A stub is a placeholder piece of code that stands in for something not yet built. Stubs let developers test the rest of a system before a part is finished, for example a fake payment response.
Why it matters for your business
They allow teams to work in parallel and test early.
Real-world example
A developer stubs the M-Pesa response to test the checkout before getting live credentials.
Design Corner tip
Remove test stubs before the site goes live.