SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
PHP Experience 2016 - [Workshop] Agile: Test Driven Development
4.
TU vs TDD
Se você tem...
.Aplicações difíceis de manter,
.Que quebram com pequenas alterações,
.Complexas que precisam ser mantidas estáveis,
.Com exigência de alta disponibilidade,
.Necessidade de documentar comportamento...
Será que precisamos de testes de unidade!?
5.
Test Driven Development
TDD
Te faz pensar no resultado
Te faz codificar menos
Te faz falhar mais rápido #failfast
Você gostará de TDD
6.
Test Driven Development
Escreva um
Teste
Veja oTeste
Falhar
Faça-o
Passar
Refatore