XPday London

Growing Object Oriented Software Guided By Tests

Steve Freeman and Nat Pryce

Test-Driven Development (TDD) is a deceptively simple idea: write the tests for your code before writing the code itself. We say "deceptively simple" because this reversal fundamentally changes the role of testing in the development process. The tests are now about helping the team to understand the features that the users need and delivering those features reliably and predictably. When followed to its conclusions, TDD changes the way we develop software and, in our experience, hugely improves the quality of the systems we build.

This advanced tutorial is for developers who have started with Test-Driven Development and are looking for deeper understanding. We will show how TDD fits into the whole development lifecycle, with an extended example started from scratch.

We will cover topics such as:

  1. What's the point of Test-Driven Development
  2. Kick-starting the TDD lifecycle
  3. Growing features test-first
  4. Maintaining the TDD lifecycle
  5. Object-oriented design with Mock Objects
  6. Working with third-party code
  7. Learning to listen to the tests
  8. Testing asynchronous code

The course will use Java 5, JUnit 4, and JMock. Attendees should bring a laptop with a Java IDE.

The material is based on our book, which should be out by then. We've run it at ACCU and will have run it at Agile2009.

Comments

From SteveFreeman [208.51.118.2] - 2009-08-28

It really needs a day, but I've just run it at Agile2009 in half, so it's possible.

I'm hoping to launch the book in the UK at XpDay

From Robert Chatley [217.155.46.76] - 2009-08-24

sounds good - how much time do you need to run this tutorial? By the way Amazon reckons your book is out on Dec 28th, so you'll miss the Christmas market...

From 86.153.24.7 - 2009-08-22

This looks great. Got my vote +1

From Sam Newman [193.243.130.17] - 2009-08-12

Any chance of some puns referencing Guided By Voices?

Page

New
Edit
Rename
Versions

Menu

Edit Menu
Versions

Site

Changes
Index
Search
Templates

User

Log In

 
 

Last Modified 2009-08-07