Evaluating the Efficacy of TDD

An entry about tdd | research Publication date 10. August 2008 15:45

The Typemock Insider Blog has linked to a case study performed by the research department over at Microsoft; Evaluating the Efficacy of Test-Driven Development: Industrial Caste Studies. Not surprisingly, the results “indicate that while the development of both the systems utilizing TDD took extra time upfront the resulting quality was higher than teams that adopted a non-TDD approach by an order of at least two times.”:

Project A - Outcome Measures:

Metric Description Value

Actual defects/KLOC (using TDD)

X

Defects/KLOC of comparable team in org
but not using TDD

2.6X

Increase in time taken to code the feature because of TDD (%) [Management estimates]

25-35%

Project B - Outcome Measures:

Metric Description Value

Actual defects/KLOC (using TDD)

Y

Defects/KLOC of comparable team in org
but not using TDD

4.2Y

Increase in time taken to code the feature because of TDD (%) [Management estimates]

15%

I think its also worth noting that Project A was was a C/C++ project on the Windows networking team, whereas Project B was a C++/C# project on a web services application in the MSN division.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Powered by BlogEngine.NET 1.4.5.0

Welcome!

My name is Fredrik Kalseth, and this is my blog - thanks for visiting! I am fortunate enough to work with what I love for a living, and this blog is essentially the biproduct of that.

I work as a senior consultant for Capgemini, and am also an active participant in the Norwegian .NET community, as an avid attendee but also as a speaker (most recently at NNUG and MSDN Live).

As a developer, I have a wide circle of interest. My primary passion is for agile, test-driven development, with focus on best practices and clean code. That said, I also love to work on the frontend, especially with web development.

On Twitter? My handle is fkalseth. On LinkedIn? I`m there too.

Disclaimer

This is a personal blog; any opinions expressed here are my own and do not necessarily reflect those of my employer. All content herein is my own original creation, and as such is protected by copyright law. Unless otherwise stated, all source code posted on this blog is freely usable under the Microsoft Permissive License.

What Readers Talk About

Comment RSS