Özet
Existing empirical studies on test-driven development (TDD) report different conclusions about its effects on quality and productivity. Very few of those studies are experiments conducted with software professionals in industry. We aim to analyse the effects of TDD on the external quality of the work done and the productivity of developers in an industrial setting. We conducted an experiment with 24 professionals from three different sites of a software organization. We chose a repeated-measures design, and asked subjects to implement TDD and incremental test last development (ITLD) in two simple tasks and a realistic application close to real-life complexity. To analyse our findings, we applied a repeated-measures general linear model procedure and a linear mixed effects procedure. We did not observe a statistical difference between the quality of the work done by subjects in both treatments. We observed that the subjects are more productive when they implement TDD on a simple task compared to ITLD, but the productivity drops significantly when applying TDD to a complex brownfield task. So, the task complexity significantly obscured the effect of TDD. Further evidence is necessary to conclude whether TDD is better or worse than ITLD in terms of external quality and productivity in an industrial setting. We found that experimental factors such as selection of tasks could dominate the findings in TDD studies.
Orijinal dil | İngilizce |
---|---|
Sayfa (başlangıç-bitiş) | 2763-2805 |
Sayfa sayısı | 43 |
Dergi | Empirical Software Engineering |
Hacim | 22 |
Basın numarası | 6 |
DOI'lar | |
Yayın durumu | Yayınlandı - 1 Ara 2017 |
Bibliyografik not
Publisher Copyright:© 2016, Springer Science+Business Media New York.
Finansman
This research has been partly funded by Spanish Ministry of Science and Innovation projects TIN2011-23216, the Distinguished Professor Program of Tekes, and the Academy of Finland (Grant Decision No. 260871). We would like to thank Dr. Lucas Layman for his contributions in designing one of the tasks used in this experiment. We would also like to sincerely thank FSecure Corporation and the software professionals who attended our training/experiment.
Finansörler | Finansör numarası |
---|---|
Academy of Finland | 260871 |
Ministerio de Ciencia e Innovación | TIN2011-23216 |