Skip to main content Accessibility help
×
Hostname: page-component-7479d7b7d-k7p5g Total loading time: 0 Render date: 2024-07-11T11:33:03.700Z Has data issue: false hasContentIssue false

APPENDIX B - The Rules and Practices of Extreme Programming

Published online by Cambridge University Press:  26 October 2009

John Watkins
Affiliation:
IBM Software Group, UK
Get access

Summary

Its OK to be agile about your agile adoption.

David Evans

Introduction

This appendix reviews the essential rules and practices of Extreme Programming (XP), focusing in more detail on the quality aspects of the method.

The XP rules and practices are grouped into four sections: (1) planning, (2) designing, (3) coding, and (4) testing. It is notable that in virtually every description of the principles of XP you read, you will find that testing is covered last. In this appendix, testing is covered as the first topic.

Testing

Quality assurance (QA) is considered to be an essential aspect of XP. QA may be performed by a separate group, or it can be integrated into the development team itself. In either case, XP promotes the idea that the developers have a high degree of contact with the QA group; this is very much in line with the XP philosophy of closer communications between the stakeholders in a project.

XP provides some excellent guidance on testing:

  • XP encourages early and frequent testing.

  • XP looks to make the process as efficient and effective as possible by promoting the use of test automation.

  • XP demands that all code have associated tests, and that where code is changed that the tests be rerun (and/or modified where appropriate to reflect the changes).

  • XP requires test design to be completed before coding has started, with all code having associated unit tests.

There are just two types of test in XP:

  • Unit tests written by the developers to test their code. These are white box tests [4], which rely on the knowledge of the code and its purpose.

  • […]

Type
Chapter
Information
Agile Testing
How to Succeed in an Extreme Testing Environment
, pp. 263 - 269
Publisher: Cambridge University Press
Print publication year: 2009

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×