test doubles

[/test ˈdʌbəlz/]
nounpl: test doubles
dublês de teste
1. In software testing, objects or components that replace real objects or dependencies during unit tests to isolate the code being tested
We used test doubles to mock the database calls in our unit tests.
Usamos dublês de teste para simular as chamadas ao banco de dados em nossos testes unitários.
2. A general category of testing tools that includes mocks, stubs, fakes, spies, and dummies
Test doubles allow developers to verify behavior without external dependencies.
Os dublês de teste permitem que os desenvolvedores verifiquem o comportamento sem dependências externas.
Test doubles are a cornerstone concept in modern software development, particularly in agile and test-driven development (TDD) practices. The term is widely used in both Brazilian and international tech communities. Brazilian developers often use the English term 'test doubles' directly or translate it as 'dublês de teste', reflecting the global nature of software development terminology.
Synonyms / Sinônimos
mocksstubstest replacementstest substitutesfake objects
Antonyms / Antônimos
real objectsactual dependenciesintegration tests

Regional Variations

General Brazilian
dublês de teste
Standard term used in software development communities in Brazil
Portugal
dublês de teste / substitutos de teste
Similar usage to Brazilian Portuguese in technical contexts
USA/International
test doubles
Original English term commonly used in international development teams

Related Words

unit testingmockingstubbingisolationdependency injectionTDD (Test-Driven Development)

Related Idioms & Phrases

mock the dependency
stub out the call
fake the response
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →