mock object

Hello, you have come here looking for the meaning of the word mock object. In DICTIOUS you will not only get to know all the dictionary meanings for the word mock object, but we will also tell you about its etymology, its characteristics and you will know how to say mock object in singular and plural. Everything you need to know about the word mock object you have here. The definition of the word mock object will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofmock object, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

English

English Wikipedia has an article on:
Wikipedia

Noun

mock object (plural mock objects)

  1. (object-oriented programming) An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing.
    Synonym: mock
    Hypernyms: fake, test double
    Coordinate term: stub
    • 2020, Cătălin Tudose, JUnit in Action, 3rd edition, Simon and Schuster, →ISBN, page 139:
      Mock objects (mocks, for short) are perfectly suited for testing a portion of code logic in isolation from the rest of the code.

Translations