The effectiveness of test-driven development: an industrial case study

  • Authors:
  • Tomaž Dogša;David Batič

  • Affiliations:
  • Faculty of Electrical Engineering and Computer Science, Centre for Verification and Validation of Systems, University of Maribor, Maribor, Slovenia;Agileon d.o.o., Maribor, Slovenia SI-2000

  • Venue:
  • Software Quality Control
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Test-driven development (TDD) is a software development practice, where test cases are incrementally written before implementing the production code. This paper presents the results of a multi-case study investigating the effectiveness of TDD within an industrial environment. Three comparable medium-sized projects were observed during their development cycle. Two projects were driven without TDD practice, while the third one introduced TDD into the development process. The effectiveness of TDD was expressed in terms of external code quality, productivity, and maintainability. Our results indicate that the TDD developers produced higher quality code that is easier to maintain, although we did observe a reduction in productivity.