Word.ws English Dictionary

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)

  1. (transitive) 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 presentmocks out
present participlemocking out
past participlemocked out
pastmocked 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

  1. mock objects
  2. mock olive
  3. mock olives
  4. mock orange
  5. mock oranges
  6. mock out
  7. mock plum
  8. mock plums
  9. mock privet
  10. mock privets
  11. mock silver

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.