0
Test Driven Development
      October 2009

     Daniel Wildt
http://danielwildt.com
1
http://agilemanifesto.org/
A possible focus looking
at Agile Methodologies


                Strategy / Culture
                                     ...
Lean – 5 principles


         •Value
         • Value Stream
         Mapping
         • Continuous Flow
         • Pull ...
Lean Software Development
    1. Eliminate Waste
    2. Amplify Knowledge
    3. Build with quality
    4. Defer decisions...
Lean
http://www.xprogramming.com/xpmag/whatisxp.htm
2
Expectations! ☺
Focus on fixing defects prevention!

Zero Defect FOR FINAL USERS!
Learning Curve

      http://www.flickr.com/photos/pookhy/3522769044/
Testing, Testing, Testing




http://www.ambysoft.com/essays/floot.html
Write a User Story
      As a <role / who?>
     I can <need/what?>
   So that <benefit / why?>
 With Acceptance Criteria ...
Prove ideas with CODE!

Show results with Coverage Results!




  Regression test your code with
           test code!
Selenium IDE



               JUnit
Write a test that fails
    Make the test pass
    Refactor your code

  Do this cycle until you
don’t have anything else ...
More on User Stories
http://xp123.com/xplor/xp0308/index.shtml

 More on Test driven development
 http://www.agiledata.org...
Questions?
Introduction to Test Driven Development
Upcoming SlideShare
Loading in...5
×

Introduction to Test Driven Development

3,716

Published on

An introduction of Test Driven Development concepts, looking how an individual, a pair or a team can start looking at Test First Design practices.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,716
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
142
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Introduction to Test Driven Development"

  1. 1. Test Driven Development October 2009 Daniel Wildt http://danielwildt.com
  2. 2. 1
  3. 3. http://agilemanifesto.org/
  4. 4. A possible focus looking at Agile Methodologies Strategy / Culture Lean Tactical / Procedures Scrum / eXtreme Programming Operational / eXtreme Programming Execution
  5. 5. Lean – 5 principles •Value • Value Stream Mapping • Continuous Flow • Pull Process • Perfection
  6. 6. Lean Software Development 1. Eliminate Waste 2. Amplify Knowledge 3. Build with quality 4. Defer decisions 5. Deliver Fast 6. Respect People 7. Continuous Improvement 8. Optimize the whole http://www.poppendieck.com/
  7. 7. Lean
  8. 8. http://www.xprogramming.com/xpmag/whatisxp.htm
  9. 9. 2
  10. 10. Expectations! ☺
  11. 11. Focus on fixing defects prevention! Zero Defect FOR FINAL USERS!
  12. 12. Learning Curve http://www.flickr.com/photos/pookhy/3522769044/
  13. 13. Testing, Testing, Testing http://www.ambysoft.com/essays/floot.html
  14. 14. Write a User Story As a <role / who?> I can <need/what?> So that <benefit / why?> With Acceptance Criteria (1+) Given that <input> When <action> Then <expected result> Acceptance Criterias will prepare your mind for testing
  15. 15. Prove ideas with CODE! Show results with Coverage Results! Regression test your code with test code!
  16. 16. Selenium IDE JUnit
  17. 17. Write a test that fails Make the test pass Refactor your code Do this cycle until you don’t have anything else to test.
  18. 18. More on User Stories http://xp123.com/xplor/xp0308/index.shtml More on Test driven development http://www.agiledata.org/essays/tdd.html Extra: Behavior Driven Development http://dannorth.net/introducing-bdd
  19. 19. Questions?
  1. A particular slide catching your eye?

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

×