mock objects

[/mɑk ˈɑbdʒɛkts/]
nounpl: mock objects
objetos simulados
1. In software testing, simulated objects that mimic the behavior of real objects in controlled ways to isolate and test specific components of code
The developer created mock objects to test the payment processing module without connecting to the actual payment gateway.
O desenvolvedor criou objetos simulados para testar o módulo de processamento de pagamentos sem se conectar ao gateway de pagamento real.
2. Artificial replacements for dependencies used in unit testing to verify interactions and behavior
Mock objects allow developers to test their code in isolation and verify that methods are called with the correct parameters.
Objetos simulados permitem que os desenvolvedores testem seu código isoladamente e verifiquem que os métodos são chamados com os parâmetros corretos.
This is a specialized technical term used primarily in software development communities in both Brazil and the USA. While the English term 'mock objects' is commonly used even in Portuguese-speaking tech environments, the translation 'objetos simulados' is the proper Portuguese equivalent. The practice of using mock objects is a cornerstone of modern test-driven development (TDD) methodology, particularly valued in agile software development cultures.
Synonyms / Sinônimos
test doublesstub objectsfake objectsdummy objects
Antonyms / Antônimos
real objectsproduction objectslive objects

Regional Variations

General Brazilian
objetos simulados
Standard technical term used in Brazilian software development
São Paulo
objetos mock
Often used in English form in tech hubs, with Portuguese translation as secondary
Portugal
objetos simulados
Preferred Portuguese translation in European contexts
United States
mock objects
Original English term widely used in software development communities

Related Words

unit testingtest-driven developmentdependency injectionmocking frameworkstubspy

Related Idioms & Phrases

mocking framework
mock-based testing
mock object pattern
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →