O'Reilly logo

Extreme Programming Installed by Chet Hendrickson, Ann Anderson, Ron Jeffries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Test First, by Intention

Code what you want, not how to do it. Chet and Ron do a small task test first trying always to express intention in the code rather than algorithm.

Warning: There is Smalltalk code in this example. We think you'll do fine, and ask you to try to read along. The details of the code aren't critical—the thinking and the partnering are.

Chet and I wanted to give a short demonstration to tie together all the XP programming practices. We decided to work on an actual problem that I'd encountered at a client location. This is a transcript of an actual session, not a sanitized session made up for the book. The ragged ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required