Table of Contents
| Foreword | |
| Pt. I | XAR: Extreme and Agile Review - A Review of XP and AMs | 1 |
| Ch. 1 | XP in a Thousand Words | 5 |
| Ch. 2 | Agile Software Development - Why It Is Hot! | 9 |
| Ch. 3 | Which AM Should I Use? | 17 |
| Ch. 4 | Pair Programming: Why Have Two Do the Work of One? | 23 |
| Ch. 5 | The System Metaphor Explored | 35 |
| Ch. 6 | A Lightweight Evaluation of a Lightweight Process | 41 |
| Ch. 7 | Circle of Life, Spiral of Death: Ways to Keep Your XP Project Alive and Ways to Kill It | 49 |
| Ch. 8 | Hitting the Target with XP | 57 |
| Pt. II | XD: Extreme Development - Analysis of XP Development Practices | 69 |
| Ch. 9 | An Introduction to Testing, XP-Style | 73 |
| Ch. 10 | Is Quality Negotiable? | 85 |
| Ch. 11 | A Collaborative Model for Development and Testers Using the Extreme Programming Methodology | 95 |
| Ch. 12 | Increasing the Effectiveness of Automated Testing | 111 |
| Ch. 13 | Extreme Unit Testing: Ordering Test Cases to Maximize Early Testing | 123 |
| Ch. 14 | Refactoring Test Code | 141 |
| Ch. 15 | Diagnosing Evolution in Test-Infected Code | 153 |
| Ch. 16 | Innovation and Sustainability with Gold Cards | 167 |
| Ch. 17 | Integrating Extreme Programming and Contracts | 179 |
| Ch. 18 | Refactoring or Up-Front Design? | 191 |
| Ch. 19 | A Methodology for Incremental Changes | 201 |
| Ch. 20 | Extreme Maintenance | 215 |
| Pt. III | XTT: Extreme Technology Transfer - Introducing XP and AMs | 235 |
| Ch. 21 | Bringing Extreme Programming to the Classroom | 237 |
| Ch. 22 | Teaching XP for Real: Some Initial Observations and Plans | 251 |
| Ch. 23 | Student Perceptions of the Suitability of Extreme and Pair Programming | 261 |
| Ch. 24 | Extreme Programming and the Software Design Course | 273 |
| Ch. 25 | The User Stories and Planning Game Tutorial | 287 |
| Ch. 26 | Continuous Learning | 299 |
| Ch. 27 | The XP Game Explained | 311 |
| Ch. 28 | Mob Programming and the Transition to XP | 323 |
| Ch. 29 | A Metric Suite for Evaluating the Effectiveness of an Agile Methodology | 335 |
| Pt. IV | XR: Extreme Reality - Real-Life Experiences | 349 |
| Ch. 30 | Extreme Adoption Experiences of a B2B Start-Up | 355 |
| Ch. 31 | Lessons Learned from an XP Project | 363 |
| Ch. 32 | Challenges for Analysts on a Large XP Project | 375 |
| Ch. 33 | XP on a Large Project - A Developer's View | 387 |
| Ch. 34 | A Customer Experience: Implementing XP | 399 |
| Ch. 35 | Learning by Doing: Why XP Doesn't Sell | 411 |
| Ch. 36 | Qualitative Studies of XP in a Medium-Sized Business | 421 |
| Pt. V | XT: Extreme Tools - How Tools May Help the Practices of XP and AMs | 437 |
| Ch. 37 | Automatically Generating Mock Objects | 439 |
| Ch. 38 | Testing in the Fast Lane: Automating Acceptance Testing in an Extreme Programming Environment | 445 |
| Ch. 39 | Jester - A JUnit Test Tester | 455 |
| Ch. 40 | Stabilizing the XP Process Using Specialized Tools | 463 |
| Ch. 41 | Holmes - A Heavyweight Support for a Lightweight Process | 471 |
| Pt. VI | XEX: Extreme to the Extreme - Ideas on How to Extend XP and AMs | 481 |
| Ch. 42 | Extreme Programming from a CMM Perspective | 483 |
| Ch. 43 | Keep Your Options Open: Extreme Programming and the Economics of Flexibility | 503 |
| Ch. 44 | Distributed Extreme Programming | 553 |
| Ch. 45 | The Five Reasons XP Can't Scale and What to Do about Them | 569 |
| Ch. 46 | XP in Complex Project Settings: Some Extensions | 579 |
| Ch. 47 | Building Complex Object-Oriented Systems with Patterns and XP | 591 |
| Index | 601 |
Forewords & Introductions
Welcome to yet another book on Extreme Programming—and Agile Methodologies, of course!
Writing a book about new software development methodologies can be a very easy and a very difficult task together.
It could be very easy, as you could talk about very generic and high-level vaporware without ever entering details, and backing your approach with statements such as “it requires customization,” “no silver bullets,” and other politically correct statements.
You could take the completely opposite approach, and still have a fairly easy task if you have ever run a project with your methodology. You could enter a detailed description of what you did, distilling a complete approach around your individual idiosyncrasies. Best would be if you add something esoteric, such as typing into the keyboard with only the right hand, and using the left to hold a silk napkin with whom you would clean your sweater every other minute.
This is not because software authors are bad by nature. We should remember that in the early days of the studies in electronics, the equation for the resistor was awfully complex, with lots of terms which were really insignificant. Nowadays, it is a simple algebraic division: R=V/I.
However, writing about a new methodology becomes dreadfully difficult if you aim at creating something really valuable for the reader, combining the limited theoretical understanding with the limited experimental evidence, and avoiding a terse language.
This book takes this latter approach. We combine an overview of XP, from the hand of the people who proposed it, description of experiences in specific areas yet unclear and subjectto debate, and an empirical evaluation of how XP projects are progressing in software companies.
The first section is the overview of the methodology. We assume that you have already read the cult books, Kent’s, Martin’s, Ron’s, Jim’s, etc. So we summarize all the foundations in one chapter, by Don.
In Chapter 2, Jim Highsmith presents the essence of “Agility.” This insightful chapter goes in the depth of Agile Methodologies and explains the rationale behind any agile proposal.
The large number of Agile Methodologies may disorient software managers and engineers. To this end, Michele provides guidelines to select which among the several Agile Methodologies best suits your environment (Chapter 3).
Most likely people thinking at XP, associate it to Pair Programming. Detractors say that it is only a fad, which wastes time and money of software companies. Supporters are convinced that it is the philosopher store of software development. In Chapter 4, Laurie discusses the principles of Pair Programming, details when and how to adopt it, and summarizes the expected benefits.
An effective analysis in XP is centered in the ability to find a suitable metaphor. This is not an easy task, especially when the project gets larger and more complex. In Chapter 5, William and Steven Wake focus on the issue of metaphor. In particular, they detail their approach in finding a metaphor, in relating the objects of the system to it, and in evaluating whether there are “bad metaphors.”
XP is not cowboy coding, neither completely uncontrolled development. It is the opposite of them. But how is it possible to couple an agile approach with measurements and process control? They look like an antinomy. In Chapter 6, Giancarlo discussed possible avenues to implement an agile measurement program, taking advantage of sources of data naturally available to software engineers and managers.
What is the extent to which each individual practice of XP is useful? How much of them should we keep in our project for our project to be successful? What is the level of customization of the practices that we can safely have? In Chapter 7, Ron attempts to address these tricky issues that managers pose every day. He analyses the most relevant practices and concludes with a caveat toward to “agile” customizations.
Last but not the least, Michele explains how it is possible to hit your targets using XP. He explains how to align business and technical goals, and outlines possible problems that you may face when implementing an XP project and how to solve them.
Read an Excerpt
Welcome to yet another book on Extreme Programming—and Agile Methodologies, of course!
Writing a book about new software development methodologies can be a very easy and a very difficult task together.
It could be very easy, as you could talk about very generic and high-level vaporware without ever entering details, and backing your approach with statements such as “it requires customization,” “no silver bullets,” and other politically correct statements.
You could take the completely opposite approach, and still have a fairly easy task if you have ever run a project with your methodology. You could enter a detailed description of what you did, distilling a complete approach around your individual idiosyncrasies. Best would be if you add something esoteric, such as typing into the keyboard with only the right hand, and using the left to hold a silk napkin with whom you would clean your sweater every other minute.
This is not because software authors are bad by nature. We should remember that in the early days of the studies in electronics, the equation for the resistor was awfully complex, with lots of terms which were really insignificant. Nowadays, it is a simple algebraic division: R=V/I.
However, writing about a new methodology becomes dreadfully difficult if you aim at creating something really valuable for the reader, combining the limited theoretical understanding with the limited experimental evidence, and avoiding a terse language.
This book takes this latter approach. We combine an overview of XP, from the hand of the people who proposed it, description of experiences in specific areas yet unclear andsubject to debate, and an empirical evaluation of how XP projects are progressing in software companies.
The first section is the overview of the methodology. We assume that you have already read the cult books, Kent’s, Martin’s, Ron’s, Jim’s, etc. So we summarize all the foundations in one chapter, by Don.
In Chapter 2, Jim Highsmith presents the essence of “Agility.” This insightful chapter goes in the depth of Agile Methodologies and explains the rationale behind any agile proposal.
The large number of Agile Methodologies may disorient software managers and engineers. To this end, Michele provides guidelines to select which among the several Agile Methodologies best suits your environment (Chapter 3).
Most likely people thinking at XP, associate it to Pair Programming. Detractors say that it is only a fad, which wastes time and money of software companies. Supporters are convinced that it is the philosopher store of software development. In Chapter 4, Laurie discusses the principles of Pair Programming, details when and how to adopt it, and summarizes the expected benefits.
An effective analysis in XP is centered in the ability to find a suitable metaphor. This is not an easy task, especially when the project gets larger and more complex. In Chapter 5, William and Steven Wake focus on the issue of metaphor. In particular, they detail their approach in finding a metaphor, in relating the objects of the system to it, and in evaluating whether there are “bad metaphors.”
XP is not cowboy coding, neither completely uncontrolled development. It is the opposite of them. But how is it possible to couple an agile approach with measurements and process control? They look like an antinomy. In Chapter 6, Giancarlo discussed possible avenues to implement an agile measurement program, taking advantage of sources of data naturally available to software engineers and managers.
What is the extent to which each individual practice of XP is useful? How much of them should we keep in our project for our project to be successful? What is the level of customization of the practices that we can safely have? In Chapter 7, Ron attempts to address these tricky issues that managers pose every day. He analyses the most relevant practices and concludes with a caveat toward to “agile” customizations.
Last but not the least, Michele explains how it is possible to hit your targets using XP. He explains how to align business and technical goals, and outlines possible problems that you may face when implementing an XP project and how to solve them.