Skip to content
ontologydriven
Sign out

Dictionary

Words, grammatical forms and meanings linked to the ontology.

mock object en · NOUN

Meanings

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

Forms

SpellingFeaturesLabelsSource
mock objects Number=Plur lexicographic

Coordinates

stub

Hypernyms

fake · test double

Synonyms

mock

Translations (4)

fi mock-olio (Translations) · fi valeolio (Translations) · fr mock (Translations) · de Mock-Objekt (Translations)