Does Test-Driven Development Really Improve Software Design Quality?
David S. Janzen, Hossein Saiedian · IEEE Software · 2008
Support for test-driven development [TDD] is growing in many development contexts beyond its common association with extreme programming. By focusing on how TDD influences design characteristics, we hope to raise awareness of TDD as a design approach and assist others in decisions on whether and how to adopt TDD. Our results indicate that test-first programmers are more likely to write software in more and smaller units that are less complex and more highly tested. We weren't able to confirm claims that TDD improves cohesion while lowering coupling, but we anticipate ways to clarify the questions these design characteristics raised. In particular, we're working to eliminate the confounding factor of accessor usage in the cohesion metrics.
Cited by 112 works. doi:10.1109/ms.2008.34
Authors
References
- The Rational Unified Process: An Introduction
- Agile Software Development, Principles, Patterns, and Practices
- A unified framework for coupling measurement in object-oriented systems
- Object-oriented metrics: measures of complexity
- Test-driven development concepts, taxonomy, and future direction
- A Unified Framework for Cohesion Measurement in Object-Oriented Systems
- On the effectiveness of the test-first approach to programming
- A structured experiment of test-driven development
- Aim, fire [test-first coding]
- A prototype empirical evaluation of test driven development