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 条
[1]  
[Anonymous], EMPIRICAL SOFTWARE E
[2]  
[Anonymous], INT S EMP SOFTW ENG
[3]  
[Anonymous], MAKING SOFTWARE WHAT
[4]  
[Anonymous], 2002, EXPT QUASIEXPERIMENT
[5]  
Astels D., 2003, TEST DRIVEN DEV PRAC
[6]  
Baldassarre M. T., 2014, EASE 2014, P18
[7]  
Beck K, 2003, TEST DRIVEN DEV EXAM
[8]   Developer Testing in the IDE: Patterns, Beliefs, and Behavior [J].
Beller, Moritz ;
Gousios, Georgios ;
Panichella, Annibale ;
Proksch, Sebastian ;
Amann, Sven ;
Zaidman, Andy .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2019, 45 (03) :261-284
[9]  
Carver J, 2003, NINTH INTERNATIONAL SOFTWARE METRICS SYMPOSIUM, PROCEEDINGS, P239
[10]   Replications of software engineering experiments [J].
Carver, Jeffrey C. ;
Juristo, Natalia ;
Baldassarre, Maria Teresa ;
Vegas, Sira .
EMPIRICAL SOFTWARE ENGINEERING, 2014, 19 (02) :267-276