0
TDDTest Driven Development
Why TDD?
Drive your code by       tests
Write code just to make the test             green
Faster feedback
Document what thecode actually does
Automated Tests
Code written without unit test    is indeed legacy code                  Uncle Bob C. Martin
AddTest
AddTest
AddTest       Watch Test          Fail
AddTest       Watch Test          Fail
AddTest               Watch Test                  Fail       Write       Code
AddTest               Watch Test                  Fail       Write       Code
Add        Test                       Watch Test                          Fail Run           WriteTests          Code
Add        Test                       Watch Test                          Fail Run           WriteTests          Code
Add                   Test                                  Watch TestRefactor                             Fail           ...
Add                   Test                                  Watch TestRefactor                             Fail           ...
AcceptanceUser can submit tickets
AcceptanceUser can submit tickets                    UnitCreate and display tickets
AcceptanceUser can submit tickets                    UnitCreate and display tickets   Controller
AcceptanceUser can submit tickets                    UnitCreate and display tickets   Controller                    Integr...
AcceptanceUser can submit tickets                    UnitCreate and display tickets   Controller                    Integr...
AcceptanceUser can submit tickets                    UnitCreate and display tickets   Controller                    Integr...
AcceptanceUser can submit tickets                    UnitCreate and display tickets   Controller                    Integr...
Real life?
Tdd presentation
Upcoming SlideShare
Loading in...5
×

Tdd presentation

374

Published on

Just my TDD presentation

Published in: Technology, Business
3 Comments
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
374
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
9
Comments
3
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • Good code doesn’t mean perfect code. So, you’ll get some wtfms from time to time. But look at the Bad code side, you’ll get a lot of wtfms. \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript of "Tdd presentation"

    1. 1. TDDTest Driven Development
    2. 2. Why TDD?
    3. 3. Drive your code by tests
    4. 4. Write code just to make the test green
    5. 5. Faster feedback
    6. 6. Document what thecode actually does
    7. 7. Automated Tests
    8. 8. Code written without unit test is indeed legacy code Uncle Bob C. Martin
    9. 9. AddTest
    10. 10. AddTest
    11. 11. AddTest Watch Test Fail
    12. 12. AddTest Watch Test Fail
    13. 13. AddTest Watch Test Fail Write Code
    14. 14. AddTest Watch Test Fail Write Code
    15. 15. Add Test Watch Test Fail Run WriteTests Code
    16. 16. Add Test Watch Test Fail Run WriteTests Code
    17. 17. Add Test Watch TestRefactor Fail Run Write Tests Code
    18. 18. Add Test Watch TestRefactor Fail Run Write Tests Code
    19. 19. AcceptanceUser can submit tickets
    20. 20. AcceptanceUser can submit tickets UnitCreate and display tickets
    21. 21. AcceptanceUser can submit tickets UnitCreate and display tickets Controller
    22. 22. AcceptanceUser can submit tickets UnitCreate and display tickets Controller Integration Persist tickets Repository
    23. 23. AcceptanceUser can submit tickets UnitCreate and display tickets Controller Integration Persist tickets Repository
    24. 24. AcceptanceUser can submit tickets UnitCreate and display tickets Controller Integration Persist tickets Repository
    25. 25. AcceptanceUser can submit tickets UnitCreate and display tickets Controller Integration Persist tickets Repository
    26. 26. Real life?
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×