mock object
English
Noun
mock object (plural mock objects)
- (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
Translations
|
This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.