• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Test driven development
 

Test driven development

on

  • 358 views

 

Statistics

Views

Total Views
358
Views on SlideShare
346
Embed Views
12

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 12

http://www.linkedin.com 12

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Test driven development Test driven development Presentation Transcript

    • TDD Test-driven developmentMonday, September 14, 2009
    • Passo 1 Criar um teste de acordo com o comportamento esperado do método ou funcionalidade.Monday, September 14, 2009
    • Passo 2 Rodar o teste e verificar que ele falhou.Monday, September 14, 2009
    • Passo 3 Criar o método (mock).Monday, September 14, 2009
    • Passo 4 Rodar o teste de novo e verificar que ele não falha mais.Monday, September 14, 2009
    • Passo 5 Agora que o teste passou, é hora de refatorar: escrever o método propriamente dito.Monday, September 14, 2009
    • Passo 6 Rodar o teste novamente. Neste ponto, é esperado que o teste falhe.Monday, September 14, 2009
    • Passo 7 Portanto, se o teste falhou, vamos refatorar até que ele não falhe mais.Monday, September 14, 2009
    • Passo 7 Se o teste não falhou, parabéns! We’re done!Monday, September 14, 2009
    • Duvidas? o/Monday, September 14, 2009
    • Não? Então por que ainda não colocamos em prática?Monday, September 14, 2009
    • Créditos Wikipedia (http://en.wikipedia.org/ wiki/Test-driven_development) InfoQ (http://www.infoq.com/br/news/ 2009/06/hill-pair-tdd-for-productivity) AgilCoop (http://ccsl.ime.usp.br/ agilcoop/slides)Monday, September 14, 2009