Skip to content

Glossary: Software Design Patterns in Rust

Fake

Also written: fakes

A simple working stand-in for a real part, such as an in-memory repository or a notifier that keeps messages in a list. Tests use fakes to avoid disk, network or real email.

Where the book teaches it

Related terms

StubMock