Research Article Open Access

Measured Test-Driven Development: Using Measures to Monitor and Control the Unit Development

Y. Dubinsky and O. Hazzan

Abstract

We analyze Test Driven Development (TDD) from cognitive and social perspectives. Based on our analysis, we suggest a technique for controlling and monitoring the TDD process by examining measures that relate to the size and complexity of both code and tests. We call this approach Measured TDD. The motivation for TDD arose from practitioners’ tendency to rush into code production, skipping the required testing needed to manufacture quality products. The motivation for Measured TDD is based on difficulties encountered by practitioners in applying TDD. Specifically, with the need to frequently refactor the unit, after every few test and code steps have been performed. We found that the suggested technique enables developers to gain better control over the development process.

Journal of Computer Science
Volume 3 No. 5, 2007, 335-344

DOI: https://doi.org/10.3844/jcssp.2007.335.344

Submitted On: 22 May 2007 Published On: 31 May 2007

How to Cite: Dubinsky, Y. & Hazzan, O. (2007). Measured Test-Driven Development: Using Measures to Monitor and Control the Unit Development. Journal of Computer Science, 3(5), 335-344. https://doi.org/10.3844/jcssp.2007.335.344

  • 3,365 Views
  • 3,008 Downloads
  • 6 Citations

Download

Keywords

  • unit testing
  • Test Driven Development
  • measures