Inject Clock and Randomness

Kind: technique

Layer: Computation Core

Record: lexicon:inject-clock-and-randomness

Canonical: Lexicon

A technique for supplying time and random values through parameters, so the code under test runs the same way every time.

Listed in Lexicon terms, after Pass Context Explicitly and before Test Observable Behavior.

Category

Refactors

Linked from