"mock object" meaning in English

See mock object in All languages combined, or Wiktionary

Noun

Forms: mock objects [plural]
Head templates: {{en-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. Wikipedia link: mock object Categories (topical): Object-oriented programming Synonyms: mock Translations (Translations): valeolio (Finnish), mock-olio (Finnish), mock [masculine] (French), Mock-Objekt [neuter] (German)

Inflected forms

{
  "forms": [
    {
      "form": "mock objects",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "mock object (plural mock objects)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Entries with translation boxes",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with Finnish translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with French translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with German translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Object-oriented programming",
          "orig": "en:Object-oriented programming",
          "parents": [
            "Programming",
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "examples": [
        {
          "text": "Coordinate term: stub"
        },
        {
          "ref": "2020, Cătălin Tudose, JUnit in Action, 3rd edition, Simon and Schuster, →ISBN, page 139:",
          "text": "Mock objects (mocks, for short) are perfectly suited for testing a portion of code logic in isolation from the rest of the code.",
          "type": "quote"
        }
      ],
      "glosses": [
        "An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing."
      ],
      "id": "en-mock_object-en-noun-VL0-qbUx",
      "links": [
        [
          "object-oriented programming",
          "object-oriented programming"
        ],
        [
          "object",
          "object"
        ],
        [
          "mimic",
          "mimic"
        ],
        [
          "unit testing",
          "unit testing"
        ]
      ],
      "qualifier": "object-oriented programming",
      "raw_glosses": [
        "(object-oriented programming) An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing."
      ],
      "synonyms": [
        {
          "word": "mock"
        }
      ],
      "translations": [
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "valeolio"
        },
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "mock-olio"
        },
        {
          "code": "fr",
          "lang": "French",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "mock"
        },
        {
          "code": "de",
          "lang": "German",
          "sense": "Translations",
          "tags": [
            "neuter"
          ],
          "word": "Mock-Objekt"
        }
      ],
      "wikipedia": [
        "mock object"
      ]
    }
  ],
  "word": "mock object"
}
{
  "forms": [
    {
      "form": "mock objects",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "mock object (plural mock objects)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "English terms with quotations",
        "Entries with translation boxes",
        "Pages with 1 entry",
        "Pages with entries",
        "Terms with Finnish translations",
        "Terms with French translations",
        "Terms with German translations",
        "Translation table header lacks gloss",
        "en:Object-oriented programming"
      ],
      "examples": [
        {
          "text": "Coordinate term: stub"
        },
        {
          "ref": "2020, Cătălin Tudose, JUnit in Action, 3rd edition, Simon and Schuster, →ISBN, page 139:",
          "text": "Mock objects (mocks, for short) are perfectly suited for testing a portion of code logic in isolation from the rest of the code.",
          "type": "quote"
        }
      ],
      "glosses": [
        "An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing."
      ],
      "links": [
        [
          "object-oriented programming",
          "object-oriented programming"
        ],
        [
          "object",
          "object"
        ],
        [
          "mimic",
          "mimic"
        ],
        [
          "unit testing",
          "unit testing"
        ]
      ],
      "qualifier": "object-oriented programming",
      "raw_glosses": [
        "(object-oriented programming) An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing."
      ],
      "synonyms": [
        {
          "word": "mock"
        }
      ],
      "wikipedia": [
        "mock object"
      ]
    }
  ],
  "translations": [
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "valeolio"
    },
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "mock-olio"
    },
    {
      "code": "fr",
      "lang": "French",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "mock"
    },
    {
      "code": "de",
      "lang": "German",
      "sense": "Translations",
      "tags": [
        "neuter"
      ],
      "word": "Mock-Objekt"
    }
  ],
  "word": "mock object"
}

Download raw JSONL data for mock object meaning in English (1.9kB)


This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-11-06 from the enwiktionary dump dated 2024-10-02 using wiktextract (fbeafe8 and 7f03c9b). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.