Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub

被引:120
作者
Beller, Moritz [1 ]
Gousios, Georgios [1 ]
Zaidman, Andy [1 ]
机构
[1] Delft Univ Technol, Delft, Netherlands
来源
2017 IEEE/ACM 14TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2017) | 2017年
关键词
CONTINUOUS INTEGRATION; EFFECT SIZE; LANGUAGES;
D O I
10.1109/MSR.2017.62
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Continuous Integration (CI) has become a best practice of modern software development. Yet, at present, we have a shortfall of insight into the testing practices that are common in CI-based software development. In particular, we seek quantifiable evidence on how central testing is to the CI process, how strongly the project language influences testing, whether different integration environments are valuable and if testing on the CI can serve as a surrogate to local testing in the IDE. In an analysis of 2,640,825 Java and Ruby builds on TRAVIS CI, we find that testing is the single most important reason why builds fail. Moreover, the programming language has a strong influence on both the number of executed tests, their run time, and proneness to fail. The use of multiple integration environments leads to 10% more failures being caught at build time. However, testing on TRAVIS CI does not seem an adequate surrogate for running tests locally in the IDE. To further research on TRAVIS CI with GITHUB, we introduce TRAVISTORRENT.
引用
收藏
页码:356 / 367
页数:12
相关论文
共 46 条
[21]  
Fowler M., 2006, Continuous Integration
[22]  
Github, LANG TRENDS GITHUB
[23]  
Gousios G., 2016, P 38 INT C SOFTW ENG
[24]   Work Practices and Challenges in Pull-Based Development: The Integrator's Perspective [J].
Gousios, Georgios ;
Zaidman, Andy ;
Storey, Margaret-Anne ;
van Deursen, Arie .
2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, :358-368
[25]  
Gousios G, 2013, IEEE WORK CONF MIN S, P233, DOI 10.1109/MSR.2013.6624034
[26]  
JANZEN D, 2005, IEEE COMPUT, V38, P43
[27]   A systematic review of effect size in software engineering experiments [J].
Kampenes, Vigdis By ;
Dyba, Tore ;
Hannay, Jo E. ;
Sjoberg, Dag I. K. .
INFORMATION AND SOFTWARE TECHNOLOGY, 2007, 49 (11-12) :1073-1086
[28]   A Large-Scale Empirical Study of the Relationship between Build Technology and Build Maintenance [J].
McIntosh, Shane ;
Nagappan, Meiyappan ;
Adams, Bram ;
Mockus, Audris ;
Hassan, Ahmed E. .
EMPIRICAL SOFTWARE ENGINEERING, 2015, 20 (06) :1587-1633
[29]  
Meszaros Gerard, 2007, xUnit test patterns: Refactoring test code.
[30]  
Meyer M., TRAVIS CI BLOG SUPPO