Why Test Driven Development?
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Why Test Driven Development?

  • 4,494 views
Uploaded on

Why should developers learn and care of TDD as an important skill?

Why should developers learn and care of TDD as an important skill?

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,494
On Slideshare
2,717
From Embeds
1,777
Number of Embeds
15

Actions

Shares
Downloads
75
Comments
0
Likes
6

Embeds 1,777

http://blogs.agilefaqs.com 1,672
http://testercourse.wordpress.com 32
http://local.wordpress.lv 21
http://nareshjain.com 16
http://feeds.feedburner.com 12
http://www.linkedin.com 6
http://agilefaqs.com 6
https://twimg0-a.akamaihd.net 3
http://localhost 2
http://translate.googleusercontent.com 2
http://ranksit.com 1
http://honyaku.yahoofs.jp 1
http://nashjain.github.io 1
http://presentationstack.com 1
https://twitter.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Test Driven Development Why Should You Care about TDD And Automated (Unit) Testing? Naresh Jain Twitter: @nashjain Blog: http://blogs.agilefaqs.com Licensed Under Creative Commons by Naresh Jain 1
  • 2. Test Driven DevelopmentTDD Rhythm - Test, Code, Refactor 2
  • 3. Test Driven Development Add a TestTDD Rhythm - Test, Code, Refactor 2
  • 4. Test Driven Development Add a Test Run the TestTDD Rhythm - Test, Code, Refactor 2
  • 5. Test Driven Development Add a Test Pass Run the TestTDD Rhythm - Test, Code, Refactor 2
  • 6. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor 2
  • 7. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor Make a little change 2
  • 8. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor Make a little change Run the Test 2
  • 9. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor Make a little change Fail Run the Test 2
  • 10. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor Make a little change Fail Run the Test Pass 2
  • 11. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor Make a little change Fail Run the Test Pass Refactor 2
  • 12. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor Make a little change Fail Run the Test Pass Refactor 2
  • 13. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor Make a little change Fail Run the Test Pass Refactor 2
  • 14. Test Driven Development Add a Test Pass Run the Test FailTDD Rhythm - Test, Code, Refactor Make a little change Fail Run the Test Pass Refactor 2
  • 15. Why Learn TDD? 3
  • 16. Manual (monkey) Checking by Developers and Tester 4
  • 17. Stay away from (time hungry) debugger 5
  • 18. Maintain Focus 6
  • 19. Confidence 7
  • 20. Reduce Wastage: Hand Overs 8
  • 21. Helps youSlow down and Think 9
  • 22. Communication 10
  • 23. 11
  • 24. Ultimate Goals 12
  • 25. Ultimate Goals• Bring JOY back to programming 12
  • 26. Ultimate Goals• Bring JOY back to programming• Understand Code Easily 12
  • 27. Ultimate Goals• Bring JOY back to programming• Understand Code Easily• Produce Simple, Testable, Loosely-Coupled Design 12
  • 28. Ultimate Goals• Bring JOY back to programming• Understand Code Easily• Produce Simple, Testable, Loosely-Coupled Design• Build Quality In 12
  • 29. Ultimate Goals• Bring JOY back to programming• Understand Code Easily• Produce Simple, Testable, Loosely-Coupled Design• Build Quality In• Reduce Maintenance Significantly 12
  • 30. Living, up-to-date specification 13
  • 31. Learning:Listen to your code 14
  • 32. Testable Code by Design + Safety Net 15
  • 33. Communicate Design Decisions 16
  • 34. Loosely-Coupled Design 17
  • 35. Refactoring 18
  • 36. Ultimate Goals• Bring JOY back to programming• Understand Code Easily• Produce Simple, Testable, Loosely-Coupled Design• Build Quality In• Reduce Maintenance Significantly 19
  • 37. Thank You! Naresh Jain naresh@agilefaqs.comLicensed Under Creative Commons by Naresh Jain 20