Comparing White-box and Black-box Test Prioritization

被引:135
作者
Henard, Christopher [1 ]
Papadakis, Mike [1 ]
Harman, Mark [2 ]
Jia, Yue [2 ]
Le Traon, Yves [1 ]
机构
[1] Univ Luxembourg, Luxembourg, Luxembourg
[2] UCL, London, England
来源
2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE) | 2016年
基金
英国工程与自然科学研究理事会;
关键词
Regression Testing; White-box; Black-box; COVERAGE; SELECTION; MUTATION;
D O I
10.1145/2884781.2884791
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Although white-box regression test prioritization has been well-studied, the more recently introduced black-box prioritization approaches have neither been compared against each other nor against more well-established white-box techniques. We present a comprehensive experimental comparison of several test prioritization techniques, including well-established white-box strategies and more recently introduced black-box approaches. We found that Combinatorial Interaction Testing and diversity-based techniques (Input Model Diversity and Input Test Set Diameter) perform best among the black-box approaches. Perhaps surprisingly, we found little difference between black-box and white-box performance (at most 4% fault detection rate difference). We also found the overlap between black-and white-box faults to be high: the first 10% of the prioritized test suites already agree on at least 60% of the faults found. These are positive findings for practicing regression testers who may not have source code available, thereby making white-box techniques inapplicable. We also found evidence that both black-box and white-box prioritization remain robust over multiple system releases.
引用
收藏
页码:523 / 534
页数:12
相关论文
共 62 条
[1]  
Alshahwan N., 2014, P 2014 INT S SOFTW T, P181
[2]  
Alshahwan N., 2012, Proceedings of the 2012 International Symposium on Software Testing and Analysis - ISSTA 2012, P45
[3]   Establishing Theoretical Minimal Sets of Mutants [J].
Ammann, Paul ;
Delamaro, Marcio E. ;
Offutt, Jeff .
2014 IEEE SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2014, :21-30
[4]   Using mutation analysis for assessing and comparing testing coverage criteria [J].
Andrews, James H. ;
Briand, Lionel C. ;
Labiche, Yvan ;
Namin, Akbar Siami .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2006, 32 (08) :608-624
[5]  
[Anonymous], CORR
[6]  
[Anonymous], 2014, Proceedings of the 2014 International Symposium on Software Testing and Analysis, ISSTA 2014
[7]   A Practical Guide for Using Statistical Tests to Assess Randomized Algorithms in Software Engineering [J].
Arcuri, Andrea ;
Briand, Lionel .
2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, :1-10
[8]  
Ball T., 1998, Software Engineering Notes, V23, P134, DOI 10.1145/271775.271802
[9]  
Bryce R.C., 2007, WORKSHOP DOMAIN SPEC, P1
[10]   Prioritized interaction testing for pair-wise coverage with seeding and constraints [J].
Bryce, Renee C. ;
Colbourn, Charles J. .
INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (10) :960-970