mock out
mock out verb: to replace (source code or other software elements) with a stub that exhibits the desired behaviour, typically for use in automated testing.
Verb
mock out (third-person singular simple present mocks out, present participle mocking out, simple past and past participle mocked out)
- To 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)
Forms of mock out
| third-person singular present | mocks out |
|---|---|
| present participle | mocking out |
| past participle | mocked out |
| past | mocked out |
Questions about mock out
- What does mock out mean?
- Mock out means to replace (source code or other software elements) with a stub that exhibits the desired behaviour, typically for use in automated testing.
- What part of speech is mock out?
- Mock out is a verb.
- What is the past tense of mock out?
- The past tense of mock out is mocked out.
Words near mock out in the dictionary
Source and license
Adapted from Wiktionary: mock out (page history and authors). Text available under the Creative Commons Attribution-ShareAlike 4.0 license. Word.ws reformatted the entry and added links. Wiktionary data of 2026-09-02.
Last updated:
Cite this entry: “mock out.” Word.ws, https://word.ws/mock_out. Based on Wiktionary, CC BY-SA 4.0.
