Journal of Computer Science

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

Y. Dubinsky and O. Hazzan

DOI : 10.3844/jcssp.2007.335.344

Journal of Computer Science

Volume 3, Issue 5

Pages 335-344


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.


© 2007 Y. Dubinsky and O. Hazzan. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.