Meanings
present singular third person mocks out · participle present mocking out · participle past mocked out · past mocked out
- transitivecomputingTo replace (source code or other software elements) with a stub that exhibits the desired behaviour, typically for use in automated testing.
Now that we know we have mocked out the objects and verified that the method we expected was called, we are ready to write a unit test.
2011, Scott Millett, Jerrel Blankenship, Matthew Bussa, Pro Agile .NET Development with SCRUM (page B-18)
Cite this entry
mock out. (n.d.). In WatkinsX Dictionary. Retrieved November 4, 2026, from https://dictionary.watkinsx.com/word/mock%20out
“mock out.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/mock%20out. Accessed November 4, 2026.
WatkinsX Dictionary, s.v. “mock out,” accessed November 4, 2026, https://dictionary.watkinsx.com/word/mock%20out.
Source: mock out on Wiktionary, CC BY-SA 4.0.