O'Reilly logo

Rails 4 Test Prescriptions by Noel Rappin

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 2Test-Driven Development Basics

You have a problem.

You are the team leader for a development team that is distributed across multiple locations. You’d like to be able to maintain a common list of tasks for the team. For each task, you’d like to maintain data such as the status of the task, which pair of developers the task is assigned to, and so on. You’d also like to be able to use the past rate of task completion to estimate the project’s completion date. For some reason none of the existing tools that do this are suitable (work with me here, folks) and so you’ve decided to roll your own. We’ll call it Gatherer.

As you sit down to start working on Gatherer, your impulse is going to be to start writing code immediately. That’s a great ...

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