Monkeypatch
/ˈmʌŋkiˌpætʃ/
Definition
Dynamically replacing a method or attribute at runtime — common in testing to override system or library behaviour.
Example in context
"In the test, monkeypatch requests.get to return a fake response — no actual HTTP calls during unit testing."
Related terms
Practice this term
Master Monkeypatch in context by working through exercises in the Testing & QA module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.