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