Measured Test-Driven Development: Using Measures to Monitor and Control the Unit Development
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.
DOI: https://doi.org/10.3844/jcssp.2007.335.344
Copyright: © 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.
- 3,365 Views
- 3,008 Downloads
- 6 Citations
Download
Keywords
- unit testing
- Test Driven Development
- measures