Also called: monkeypatch
Example
We monkey-patched the date function in the test so it always thinks it is Monday.
Learn more
Related terms
Added 2026-11-30 · Last reviewed 2026-11-30
Changing how existing code behaves at runtime from outside, without editing its source.
Also called: monkeypatch
We monkey-patched the date function in the test so it always thinks it is Monday.
Added 2026-11-30 · Last reviewed 2026-11-30