[ next ] [ prev ] [
contents
]
XP-Cinti TDD Workshop
Table of Contents
XP in Cincinnati
Conventions
Our First Test
The First Story
A Real Test
Defining the Net Class
Creating the untied? Method
Fixing the untied? Method
Take a Breath
Test Number Three -- Tying the Knot
Adding Method tie
Adding State to Net
Why Didn't You Use a Matrix There?
Testing in a Matrix
Why Do You Run the Test if You Know It Will Fail?
Adding a Matrix
Untying the Knot
Some Loose Ends
Matrix Size
Oops ... We Misnamed Our Query Function
Another Refactoring
Code after Story One
The Second Story
Planning the Changes...
Story Two Tests
Story Two Tests Continued
Cleaning up the Tests
Cleaning up the Code
Code after Story Two
The Third Story
Scoring Tests
A Harder Test
Writing 'score_at'
Refactoring Yet Again
Refactoring the Tests
Back to 'score'
More Tests for Story Three
Boundary Tests
Fixing the Boundary Problem
Code for Story Three
Reflections
Ruby Resources
[ next ] [ prev ] [
contents
]
Copyright 2003 by
Jim Weirich
.