TDD as if you Meant It @Turku 2012 10 22

184 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
184
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

TDD as if you Meant It @Turku 2012 10 22

  1. 1. Tdd as if you meant it Www.mozaicworks.com
  2. 2. Me Adi Bolboaca Www.mozaicworks.com
  3. 3. TDD as if you meant it by Adrian Bolboaca Why? Reveals the true nature of TDD Pure emergent design Fastest feedback Www.mozaicworks.com
  4. 4. TDD as if you meant it by Adrian Bolboaca Program: 10 min Intro 25 min coding 5 min retrospective 25 min coding 5 min retrospective 25 min coding 15 min closing retrospective 5 min Outro Www.mozaicworks.com
  5. 5. TDD as if you meant it by Adrian Bolboaca Prerequisites: Coding environment Testing framework Source control (git, svn, etc) Www.mozaicworks.com
  6. 6. TDD as if you meant it by Adrian Bolboaca Problem: tic-tac-toe Www.mozaicworks.com
  7. 7. TDD as if you meant it by Adrian Bolboaca Choose your pair Choose programming language Code in pairs Have fun! Www.mozaicworks.com
  8. 8. TDD as if you meant it by Adrian Bolboaca 1)Write exactly one failing test 2)Make the test pass by writing implementation code in the test method 3)When duplication is spotted extract the implementation from tests to: a) a new method in the test class b)an existing method in the test class 4)When more methods belong together extract them into a new class 5)Refactor as required Www.mozaicworks.com
  9. 9. TDD as if you meant it by Adrian Bolboaca Why? Reveals the true nature of TDD Pure emergent design Fastest feedback Www.mozaicworks.com
  10. 10. TDD as if you meant it by Adrian Bolboaca Contact me Unit testing workshop Remote pair-programming TDD workshop Refactoring workshop Legacy code workshop Legacy code retreat Code retreat Www.mozaicworks.com
  11. 11. TDD as if you meant it by Adrian Bolboaca Extend your mentoring & training capacity Accelerate learning through communities of practice Grow your functional leaders and top talents http://www.mozaicworks.com adrian.bolboaca@mozaicworks.com @adibolb

×