Test drivendevelopment fluency
- 2. Is Testing Faster? (Test After)
60 Minutes
Work (code)
X minutes
Non-Work(tests)
Code
<
60 Minutes
Code + Test
60 + X minutes
- 3. Is Testing Faster? (Test 1st)
30 Minutes
Work (code)
X minutes
Non-Work(tests)
Code
60 Minutes <
?
Test + Code
X + 30 minutes
- 4. Today’s Kata: Triangle
1) A side has a distance
2) Side knows endpoints
3) 3 points
4) 3 sides
5) Perimeter
6) Get sides touching a point
7) Get side opposite a point
8) The angle of 2 sides touching a point
9) 3 angles
10) Right Triangle
- 8. Benefits of Unit Tests
1) Specification
2) Feedback
3) Regression
4) Granularity
- 11. Consume 1st
Write the objects & methods you wish existed
- 14. Completing the Circle
Your output should tell the story.
Objects should have ToStrings
Benefits
1. Specification
2. Feedback
3. Regression
4. Granularity
- 15. Fake it Till You Make It
Buys some time
Allows for Triangulation
- 16. Today’s Kata: Triangle
1) A side has a distance
2) Side knows endpoints
3) 3 points
4) 3 sides
5) Perimeter
6) Get sides touching a point
7) Get side opposite a point
8) The angle of 2 sides touching a point
9) 3 angles
10) Right Triangle
- 21. Resources
Test Driven Development: By Example
Kent Beck
- 23. Resources www.Develop.com
Intro To TDD Class (4 Day)
Legacy Code
- 25. Please fill out evaluations:
TDD – Fluency #AT11
@LlewellynFalco
http://LlewellynFalco.Blogspot.com
http://www.approvaltests.com @ArloBelshee
(Microsoft)
http://www.arlobelshee.com
Editor's Notes
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- Both
- I add this slide at the end of EVERY presentation.
- Both