TDD as if you Meant It @Bucharest 2012 08 14
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

TDD as if you Meant It @Bucharest 2012 08 14

  • 220 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
220
On Slideshare
220
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Tdd as if you meant it Www.mozaicworks.com
  • 2. Me Adi Bolboaca Www.mozaicworks.com
  • 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. 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. TDD as if you meant it by Adrian Bolboaca Prerequisites: Coding environment Testing framework Source control (git, svn, etc) Www.mozaicworks.com
  • 6. TDD as if you meant it by Adrian Bolboaca Problem: tic-tac-toe Www.mozaicworks.com
  • 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. 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. 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. 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. 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