Skip to main content
Presentation
Evaluating Test-Driven Development in an Industry-Sponsored Capstone Project
Proceedings of the Sixth International Conference on Information Technology: New Generations
  • John Huan Vu, California Polytechnic State University - San Luis Obispo
  • Niklas Frojd, California Polytechnic State University - San Luis Obispo
  • Clay Shenkel-Therolf, California Polytechnic State University - San Luis Obispo
  • David S. Janzen, California Polytechnic State University - San Luis Obispo
Publication Date
4-27-2009
Abstract

Test-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.

Disciplines
Publisher statement
Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works must be obtained from the IEEE.
Citation Information
John 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/