1 / 31

TDD & PP Workshop for Sterias FHS og T&D team, 9. desember, 2010 Johannes Brodwall Anders Karlsen

TDD & PP Workshop for Sterias FHS og T&D team, 9. desember, 2010 Johannes Brodwall Anders Karlsen.

pia
Download Presentation

TDD & PP Workshop for Sterias FHS og T&D team, 9. desember, 2010 Johannes Brodwall Anders Karlsen

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TDD & PPWorkshop for Sterias FHS og T&D team, 9. desember, 2010Johannes BrodwallAnders Karlsen

  2. TODO: MAKE NICEIntro 10mPrep: Fizzbuzz (UncleBobs regler) – 25mDojo: Yahtzee 45mPrep: Tennis (Johannes regler: Enklest test, enklest kode,kode guider test) – 35mLunsj – 60m20m lean vs agileDojo: Poker 90m13:50 Legacy demonstrasjonDiskusjon

  3. Lean vs Agile

  4. Test-driven development

  5. Uncle Bob’s RulesNo code without testOnly enough test for redOnly enough code for green

  6. Demo: FizzBuzz

  7. What to watch for

  8. How we interactHow we use EclipseThe design of the codeThe design of the testsRefactorings

  9. What did you notice?

  10. Code dojo: Yahtzee

  11. <pause>

  12. Test-driven development(recap)

  13. Uncle Bob’s RulesNo code without testOnly enough test for redOnly enough code for green

  14. Test-driven design

  15. Johannes’s RulesTest for simplest structureImplement simplest structureUse limitations in code to guide next testRefactor all the time

  16. Johannes’s RulesTest for simplest structureImplement simplest structureUse limitations in code to guide next test

  17. Demo: Tennis

  18. <lunch>

  19. Code dojo:Poker hands

  20. http://codingdojo.org/cgi-bin/wiki.pl?KataPokerHandsHighcardPairTwo pairThree of a kindStraightFlushFull houseFour of a kindStraight flush

  21. <pause>

  22. Real world testing

  23. RulesArrangeActAssert

  24. Demo: Legacy code

  25. RecapUncle Bob’s rulesJohannes’s rulesArrange-act-assert

  26. Working togetherScrum board with magnetsRotate pairs dailyPair programming star

  27. Open discussion

  28. Takk for oppmerksomheten Johannes.Brodwall@steria.nohttp://johannesbrodwall.comhttp://sterkblanding.nohttp://jhannes.blip.tvtwitter.com/jhannes Anders.Karlsen@steria.notwitter.com/anderskar

More Related