Sciweavers

SAC
2003
ACM

An Initial Investigation of Test Driven Development in Industry

14 years 6 months ago
An Initial Investigation of Test Driven Development in Industry
Test Driven Development (TDD) is a software development practice in which unit test cases are incrementally written prior to code implementation. In our research, we ran a set of structured experiments with 24 professional pair programmers. One group developed code using TDD while the other a waterfall-like approach. Both groups developed a small Java program. We found that the TDD developers produced higher quality code, which passed 18% more functional black box test cases. However, TDD developer pairs took 16% more time for development. A moderate correlation between time spent and the resulting quality was established upon analysis. It is conjectured that the resulting high quality of code written using the TDD practice may be due to the granularity of TDD, which may encourage more frequent and tighter verification and validation. Lastly, the programmers which followed a waterfall-like process often did not write the required automated test cases after completing their code, which...
Boby George, Laurie A. Williams
Added 05 Jul 2010
Updated 05 Jul 2010
Type Conference
Year 2003
Where SAC
Authors Boby George, Laurie A. Williams
Comments (0)