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.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →