Logo
QuestõesDisciplinasBancasDashboardSimuladosCadernoRaio-XBlog
Logo Questionei

Links Úteis

  • Início
  • Questões
  • Disciplinas
  • Simulados

Legal

  • Termos de Uso
  • Termos de Adesão
  • Política de Privacidade

Disciplinas

  • Matemática
  • Informática
  • Português
  • Raciocínio Lógico
  • Direito Administrativo

Bancas

  • FGV
  • CESPE
  • VUNESP
  • FCC
  • CESGRANRIO

© 2026 Questionei. Todos os direitos reservados.

Feito com ❤️ para educação

/
/
/
/
/
/
  1. Início/
  2. Questões/
  3. Língua Inglesa/
  4. Questão 457941200481421

Based on the text it is correct to state about the coupling of test...

📅 2018🏢 INSTITUTO AOCP🎯 PRODEB📚 Língua Inglesa
#Compreensão de Texto

Esta questão foi aplicada no ano de 2018 pela banca INSTITUTO AOCP no concurso para PRODEB. A questão aborda conhecimentos da disciplina de Língua Inglesa, especificamente sobre Compreensão de Texto.

Esta é uma questão de múltipla escolha com 5 alternativas. Teste seus conhecimentos e selecione a resposta correta.

1

457941200481421
Ano: 2018Banca: INSTITUTO AOCPOrganização: PRODEBDisciplina: Língua InglesaTemas: Compreensão de Texto
Texto associado

Set the Table

When you begin writing tests, you will discover a common pattern:


1. Create some objects

2. Stimulate them

3. Check the results


While the stimulation and checking steps are unique test-to-test, the creation step is often familiar. I have a 2 and 3. If I add them, I expect 5. If I subtract them, I expect – 1, if I multiply them, I expect 6. The stimulation and expected results are unique, the 2 and the 3 don’t change.

If this pattern repeats at different scales (and it does), then we’re faced with the question of how often do we want to create new objects. Looking back at our initial set of constraints, two constraints come into conflict:


· Performance—we would like our tests to run as quickly as possible

· Isolation—we would the success or failure of one test to be irrelevant to other tests


For performance sake, assuming creating the objects (we’ll call them collectively the “fixture”) is expensive, we would like to create them once and then run lots of tests.

But sharing objects between tests creates the possibility of test coupling. Test coupling can have an obvious nasty effect, where breaking one test causes the next ten to fail even though the code is correct. Test coupling can have a subtle really nasty effect, where the order of tests matters. If I run A before B, they both work, but if I run B before A, then A fails. Worse, the code exercised by B is wrong, but because A ran first, the test passes.

Kent Beck – Test-Driven Development By Example. Addison-Wesley Professional; Edição: 1. Novembro, 2002. Page 82.

Based on the text it is correct to state about the coupling of tests that:
Gabarito comentado
Anotações
Marcar para revisão

Acelere sua aprovação com o Premium

  • Gabaritos comentados ilimitados
  • Caderno de erros inteligente
  • Raio-X da banca
Conhecer Premium

Questões relacionadas para praticar

Questão 457941200033436Língua Inglesa

Observe the following excerpt: “In the eyes of many authority figures, our religious identity in and of itself is incriminating. Our way of dress is i...

#Ensino de Língua Inglesa
Questão 457941200285885Língua Inglesa

Regarding the network components there are also names that use English words. Thus, it is correct to say that hostname is:

#Compreensão de Texto
Questão 457941201067991Língua Inglesa

Taking into account that computer programs receive special names derived from technical English, it is correct to argue that Sniffer is:

#Compreensão de Texto
Questão 457941201263325Língua Inglesa

Based on the text, it is correct to say about Merging in GIT that:

#Compreensão de Texto
Questão 457941201583284Língua Inglesa

WPA was created by the WiFi consortium in 2003 as a way to address WEP vulnerabilities. WPA is designed to work in two modes:

#Compreensão de Texto
Questão 457941201628106Língua Inglesa

Clocks, also called timers, are essential for the operation of any multiprogrammed system. About clocks, we can say that:

#Compreensão de Texto

Continue estudando

Mais questões de Língua InglesaQuestões sobre Compreensão de TextoQuestões do INSTITUTO AOCP