Evaluating Test-Driven Development in an Industry-Sponsored Capstone ProjectProceedings of the Sixth International Conference on Information Technology: New Generations
AbstractTest-Driven Development (TDD) is an agile development process wherein automated tests are created before production code is designed or constructed in short, rapid iterations. This paper discusses an experiment conducted with undergraduate students in a year-long software engineering capstone course. In this course the students designed, implemented, deployed, and maintained a software system to meet the requirements of an industry sponsor who served as the customer. The course followed an incremental process in which features were added incrementally under the direction of the industry sponsor and the professor. The fourteen students observed in the study were divided into three teams. Among the three teams were two experimental groups. One group consisted of two teams that applied a Test-First (TDD) methodology, while a control group applied a traditional Test-Last methodology. Unlike Test-First, the tests in Test-Last are written after the design and construction of the production code being tested. Results from this experiment differ from many previous studies. In particular, the Test-Last team was actually more productive and wrote more tests than their Test-First counterparts. Anecdotal evidence suggests that factors other than development approach such as individual ambition and team motivation may have more affect than the development approach applied. Although more students indicated a preference for the Test-First approach, concerns regarding learning and applying TDD with unfamiliar technologies are noted.
Citation InformationJohn Huan Vu, Niklas Frojd, Clay Shenkel-Therolf and David S. Janzen. "Evaluating Test-Driven Development in an Industry-Sponsored Capstone Project" Proceedings of the Sixth International Conference on Information Technology: New Generations (2009) p. 229 - 234
Available at: http://works.bepress.com/djanzen/22/