mock out

From Wiktionary, the free dictionary
Archived revision by Equinox (talk | contribs) as of 22:50, 22 September 2016.
Jump to navigation Jump to search

English

Verb

mock out

  1. (programming, transitive) To replace (source code or other software elements) with a stub that exhibits the desired behaviour, typically for use in automated testing.
    • 2011, Scott Millett, ‎Jerrel Blankenship, ‎Matthew Bussa, Pro Agile .NET Development with SCRUM (page B-18)
      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.