When, How, and Why Developers (Do Not) Test in Their IDEs

被引:108
作者
Beller, Moritz [1 ]
Gousios, Georgios [2 ]
Panichella, Annibale [1 ]
Zaidman, Andy [1 ]
机构
[1] Delft Univ Technol, NL-2600 AA Delft, Netherlands
[2] Radboud Univ Nijmegen, NL-6525 ED Nijmegen, Netherlands
来源
2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS | 2015年
关键词
Developer Testing; Unit Tests; Testing Effort; Field Study; Test-Driven Development (TDD);
D O I
10.1145/2786805.2786843
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The research community in Software Engineering and Software Testing in particular builds many of its contributions on a set of mutually shared expectations. Despite the fact that they form the basis of many publications as well as open-source and commercial testing applications, these common expectations and beliefs are rarely ever questioned. For example, Frederic Brooks' statement that testing takes half of the development time seems to have manifested itself within the community since he first made it in the "Mythical Man Month" in 1975. With this paper, we report on the surprising results of a large-scale field study with 416 software engineers whose development activity we closely monitored over the course of five months, resulting in over 13 years of recorded work time in their integrated development environments (IDEs). Our findings question several commonly shared assumptions and beliefs about testing and might be contributing factors to the observed bug proneness of software in practice: the majority of developers in our study does not test; developers rarely run their tests in the IDE; Test-Driven Development (TDD) is not widely practiced; and, last but not least, software developers only spend a quarter of their work time engineering tests, whereas they think they test half of their time.
引用
收藏
页码:179 / 190
页数:12
相关论文
共 43 条
[1]   THE HAWTHORNE EFFECT - A RECONSIDERATION OF THE METHODOLOGICAL ARTIFACT [J].
ADAIR, JG .
JOURNAL OF APPLIED PSYCHOLOGY, 1984, 69 (02) :334-345
[2]  
[Anonymous], INTERNET SOC SPORT S
[3]  
[Anonymous], P 27 EUR C OBJ OR PR
[4]  
Beck K, 2003, TEST DRIVEN DEV EXAM
[5]   Analyze This! 145 Questions for Data Scientists in Software Engineering [J].
Begel, Andrew ;
Zimmermann, Thomas .
36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, :12-23
[6]  
Beller M., 2014, 11 WORKING C MINING, P202, DOI DOI 10.1145/2597073.2597082
[7]   How (Much) Do Developers Test? [J].
Beller, Moritz ;
Gousios, Georgios ;
Zaidman, Andy .
2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 2, 2015, :559-562
[8]  
Bertolino A., 2004, SIGSOFT SOFTW ENG NO, V29, P1, DOI DOI 10.1145/1022494.1022540
[9]   Software testing research: Achievements, challenges, dreams [J].
Bertolino, Antonia .
FOSE 2007: FUTURE OF SOFTWARE ENGINEERING, 2007, :85-103
[10]  
Brooks F.P., 1975, The Mythical Man-Month