• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Tdd presentation
 

Tdd presentation

on

  • 492 views

Just my TDD presentation

Just my TDD presentation

Statistics

Views

Total Views
492
Views on SlideShare
487
Embed Views
5

Actions

Likes
0
Downloads
5
Comments
3

2 Embeds 5

http://www.linkedin.com 4
http://www.slashdocs.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

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

13 of 3 previous next Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \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

Tdd presentation Tdd presentation Presentation Transcript

  • 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 Run Write Tests Code
  • Add Test Watch TestRefactor Fail Run Write Tests Code
  • 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 Integration Persist tickets Repository
  • AcceptanceUser can submit tickets UnitCreate and display tickets Controller Integration Persist tickets Repository
  • AcceptanceUser can submit tickets UnitCreate and display tickets Controller Integration Persist tickets Repository
  • AcceptanceUser can submit tickets UnitCreate and display tickets Controller Integration Persist tickets Repository
  • Real life?