Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage Guides Scrum and XP from the Trenches

Scrum and XP from the Trenches


Note: A second edition of this book is now available.

The tricky part to agile software development is that there is no manual telling you exactly how to do it. You have to experiment and continuously adapt the process until it suits your specific situation.

This book aims to give you a head start by providing a detailed down-to-earth account of how one Swedish company implemented Scrum and XP with a team of approximately 40 people and how they continuously improved their process over a year's time.

Under the leadership of Henrik Kniberg they experimented with different team sizes, different sprint lengths, different ways of defining "done", different formats for product backlogs and sprint backlogs, different testing strategies, different ways of doing demos, different ways of synchronizing multiple Scrum teams, etc. They also experimented with XP practices - different ways of doing continuous build, pair programming, test driven development, etc, and how to combine this with Scrum.

Your team's constraints may dictate a different configuration of practices (and even compromises), but here is an example of how to approach the "continuous improvement" process that will make your Agile process work best for you.

This book includes:

  • Practical tips and tricks for most Scrum and XP practices
  • Typical pitfalls and how they were addressed
  • Diagrams and photos illustrating day-to-day work
  • Testing and test-driven development
  • Scaling and coordinating multiple teams
  • Dealing with resistance from inside and outside the team
  • Planning and time estimation techniques
  • Forwards by Jeff Sutherland and Mike Cohn

168 pages, 6" x 9", ISBN: 978-1-4303-2264-1

Free download

Courtesy of Henrik Kniberg and, we're happy to offer a free version for download, to get this knowledge in as many peoples hands as possible.


Buy the print version for $22.95

If you enjoyed reading the free (non-printable) download version, please support the author and InfoQ's book series by buying the print version for only $22.95.


Here you can find the translated versions of the book:

  • French version, thanks to Guillaume Mathias, Bruno Orsier, Emmanuel Etasse, Christophe Bunn
  • Chinese version, thanks to Jacky Li
  • Japanese version, thanks to Shoichi Goto
  • Spanish version, thanks to Ángel Medinilla
  • Portuguese version, thanks to various volunteers
  • Russian version, thanks to various volunteers
  • German version, thanks to Robert Sösemann & Andreas Schliep
  • Traditional Chinese version, thanks to Ko Jen-Chieh
  • Slovak version, thanks to Dusan Kocurek
  • Italian version, thanks to Antonio Lucca & Luca Minudel. Kindle and iPhone/iPAd formats available.
  • Persian version, thanks to Asad Safari
  • Indonesian version, thanks to Ifnu bima

Table of contents

Foreword by Jeff Sutherland
Foreword by Mike Cohn

  • Introduction
  • How we do product backlogs
  • How we prepare for Sprint planning
  • How we do Sprint planning
  • How we communicate Sprints
  • How we do Sprint backlogs
  • How we arrange the team room
  • How we do daily Scrum
  • How we do Sprint demos
  • How we do Sprint retrospectives
  • Slack time between Sprints
  • How we do release planning and fixed priced contracts
  • How we combine Scrum with XP
  • How we do testing
  • How we handle multiple Scrum teams
  • How we handle geographically distributed teams
  • Scrum master checklist
  • Parting words