Empirically Detecting False Test Alarms Using Association Rules

被引:66
作者
Herzig, Kim [1 ]
Nagappan, Nachiappan [2 ]
机构
[1] Microsoft Res, Cambridge, England
[2] Microsoft Res, Redmond, WA USA
来源
2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 2 | 2015年
关键词
software testing; association rules; false test alarms; classification model; test improvement;
D O I
10.1109/ICSE.2015.133
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Applying code changes to software systems and testing these code changes can be a complex task that involves many different types of software testing strategies, e.g. system and integration tests. However, not all test failures reported during code integration are hinting towards code defects. Testing large systems such as the Microsoft Windows operating system requires complex test infrastructures, which may lead to test failures caused by faulty tests and test infrastructure issues. Such false test alarms are particular annoying as they raise engineer attention and require manual inspection without providing any benefit. The goal of this work is to use empirical data to minimize the number of false test alarms reported during system and integration testing. To achieve this goal, we use association rule learning to identify patterns among failing test steps that are typically for false test alarms and can be used to automatically classify them. A successful classification of false test alarms is particularly valuable for product teams as manual test failure inspection is an expensive and time-consuming process that not only costs engineering time and money but also slows down product development. We evaluating our approach on system and integration tests executed during Windows 8.1 and Microsoft Dynamics AX development. Performing more than 10,000 classifications for each product, our model shows a mean precision between 0.85 and 0.90 predicting between 34% and 48% of all false test alarms.
引用
收藏
页码:39 / 48
页数:10
相关论文
共 43 条
[1]  
Agrawal R., 1993, SIGMOD Record, V22, P207, DOI 10.1145/170036.170072
[2]  
[Anonymous], 2012, P ACM SIGSOFT 20 INT
[3]  
[Anonymous], 2010, R: A language and environment for statistical computing
[4]  
[Anonymous], P 14 ACM SIGSOFT INT
[5]  
[Anonymous], SOFTW ENG 2003 P 25
[6]  
[Anonymous], P 11 WORK C MIN SOFT
[7]  
[Anonymous], P 34 INT C SOFTW ENG
[8]  
[Anonymous], 2008, P 30 INT C SOFTW ENG
[9]  
Antoniol G., 2008, P 2008 C CTR ADV STU
[10]  
Bettenburg N., 2008, P 16 ACM SIGSOFT INT