KEMBAR78
Introduction to Test Driven Development | PDF
Test Driven Development
      October 2009

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


                Strategy / Culture
                                     Lean




 Tactical / Procedures    Scrum / eXtreme Programming




Operational /                 eXtreme Programming
Execution
Lean – 5 principles


         •Value
         • Value Stream
         Mapping
         • Continuous Flow
         • Pull Process
         • Perfection
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/
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 (1+)
      Given that <input>
        When <action>
    Then <expected result>
Acceptance Criterias will prepare
     your mind for testing
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 to
           test.
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
Questions?

Introduction to Test Driven Development