A Longitudinal Cohort Study on the Retainment of Test-Driven Development

被引:10
作者
Fucci, Davide [1 ]
Romano, Simone [2 ]
Baldassarre, Maria Teresa [3 ]
Caivano, Danilo [3 ]
Scanniello, Giuseppe [2 ]
Turhan, Burak [4 ]
Juristo, Natalia [5 ]
机构
[1] Univ Hamburg, Hamburg, Germany
[2] Univ Basilicata, Potenza, Italy
[3] Univ Bari, Bari, Italy
[4] Monash Univ, Melbourne, Vic, Australia
[5] Univ Politecn Madrid, Madrid, Spain
来源
PROCEEDINGS OF THE 12TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2018) | 2018年
基金
芬兰科学院;
关键词
Test-driven development; longitudinal cohort study; EXPERIENCE; QUALITY;
D O I
10.1145/3239235.3240502
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Background: Test-Driven Development (TDD) is an agile software development practice, which is claimed to boost both external quality of software products and developers' productivity. Aims: We want to study: (i) the TDD effects on the external quality of software products as well as the developers' productivity; and (ii) the retainment of TDD over a period of five months. Method: We conducted a (quantitative) longitudinal cohort study with 30 third-year undergraduate students in Computer Science at the University of Bari in Italy. Results: The use of TDD has a statistically significant effect neither on the external quality of software products nor on the developers' productivity. However, we observed that participants using TDD produced significantly more tests than those applying a non-TDD development process, and that the retainment of TDD is particularly noticeable in the amount of tests written. Conclusions: Our results should encourage software companies to adopt TDD because who practices TDD tends to write more tests-having more tests can come in handy when testing software systems or localizing faults-and it seems that novice developers retain TDD.
引用
收藏
页数:10
相关论文
共 36 条
[31]  
Sokolov M. S., 2009, Izvestiya Timiryazevskoi Sel'skokhozyaistvennoi Akademii, P13
[32]  
Vanhanen J., 2007, International Conference on Software Engineering Advances, P70, DOI DOI 10.1109/ICSEA.2007.48
[33]   Crossover Designs in Software Engineering Experiments: Benefits and Perils [J].
Vegas, Sira ;
Apa, Cecilia ;
Juristo, Natalia .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (02) :120-135
[34]  
Verbeke G, 2010, LONGITUDINAL RESEARCH WITH LATENT VARIABLES, P37, DOI 10.1007/978-3-642-11760-2_2
[35]  
Wohlin C., 2012, EXPT SOFTWARE ENG
[36]  
Yin RK., 2009, Case Study Research: Design and Methods