Lexicon

Fake at the Boundary

Kind: technique

Layer: Computation Core

Record: lexicon:fake-at-the-boundary

Canonical: Lexicon

A technique for replacing an external dependency in tests with a working in-memory implementation of its port.

Listed in Lexicon terms, after Test Observable Behavior and before Unit Tests.

Category

  • Correctness / Determinism / Verification

Refactors

  • Mock Mirage
  • Flaky Test Normalization
  • Repeatability

Linked from

  • Anti-patterns
  • Correctness / Determinism / Verification