Tecnologia da InformaçãoTestes de software e TDDIAUPE 2017
UPE
Questão de Tecnologia da Informação
De acordo com o Sommerville na 9ª edição em inglês do seu livro Software Engineering, os passos do TDD são essencialmente os seguintes: 1. You start by identifying the increment of functionality that is required. This should normally be small and implementable in a few lines of code. 2. You write a test for this functionality and implement this as an automated test. This means that the test can be executed and will report whether or not it has passed or failed. 3. You then run the test, along with all other tests that have been implemented. Initially, you have not implemented the functionality so the new test will fail. This is deliberate as it shows that the test adds something to the test set. 4. You then implement the functionality and re-run the test. This may involve refactoring existing code to improve it and add new code to what’s already there. 5. Once all tests run successfully, you move on to implementing the next chunk of functionality. Sobre eles, é INCORRETO afirmar que
Mais questões de Testes de software e TDD
- FGV 2026Um Analista de Sistemas está desenvolvendo um Plano de Testes. Ele utiliza o Diagrama de Casos de Uso para identificar os cenários de teste de nível de sistema e o Diagrama de Obj…
- Fundatec 2026Analise a seguinte classe escrita em Java (Java SE) 11: public class Conta { private double saldo; public Conta(double saldoInicial) { this.saldo = saldoInicial; } public void sac…
- Quadrix 2026Durante o acompanhamento da infraestrutura de servidores, o monitoramento do tipo black‑box (caixa‑preta) avalia o comportamento do sistema a partir de uma perspectiva externa (co…
- Legalle 2026Durante o desenvolvimento de um sistema de gestão de financiamentos em uma agência de fomento governamental, a equipe de qualidade foi responsável por planejar a estratégia de tes…
- Instituto AOCP 2026No IFCE, a equipe de desenvolvimento está implementando um novo módulo para cálculo automático de carga horária docente. Diante desse cenário, o analista de tecnologia da informaç…
Questão de prova oficial, com o gabarito definitivo publicado pela banca. Reproduzida para fins de estudo.



