FAST Approaches to Scalable Similarity-based Test Case Prioritization

被引:66
作者
Miranda, Breno [1 ]
Cruciani, Emilio [2 ]
Verdecchia, Roberto [2 ,4 ]
Bertolino, Antonia [3 ]
机构
[1] Univ Fed Pernambuco, BR-50740540 Recife, PE, Brazil
[2] Gran Sasso Sci Inst, I-67100 Laquila, Italy
[3] CNR, ISTI, I-56124 Pisa, Italy
[4] Vrije Univ Amsterdam, NL-1081 HV Amsterdam, Netherlands
来源
PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE) | 2018年
基金
欧盟地平线“2020”;
关键词
SELECTION;
D O I
10.1145/3180155.3180210
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many test case prioritization criteria have been proposed for speeding up fault detection. Among them, similarity-based approaches give priority to the test cases that are the most dissimilar from those already selected. However, the proposed criteria do not scale up to handle the many thousands or even some millions test suite sizes of modern industrial systems and simple heuristics are used instead. We introduce the FAST family of test case prioritization techniques that radically changes this landscape by borrowing algorithms commonly exploited in the big data domain to find similar items. FAST techniques provide scalable similarity-based test case prioritization in both white-box and black-box fashion. The results from experimentation on real world C and Java subjects show that the fastest members of the family outperform other black-box approaches in efficiency with no significant impact on effectiveness, and also outperform white-box approaches, including greedy ones, if preparation time is not counted. A simulation study of scalability shows that one FAST technique can prioritize a million test cases in less than 20 minutes.
引用
收藏
页码:222 / 232
页数:11
相关论文
共 34 条
  • [1] [Anonymous], 2011, BIG DATA NEXT FRONTI
  • [2] Test Case Prioritization Using Requirements-Based Clustering
    Arafeen, Md Junaid
    Do, Hyunsook
    [J]. 2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, : 312 - 321
  • [3] Bin Noor T, 2015, 2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), P58, DOI 10.1109/ISSRE.2015.7381799
  • [4] Learning for Test Prioritization: An Industrial Case Study
    Busjaeger, Benjamin
    Xie, Tao
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 975 - 980
  • [5] On the use of a similarity function for test case selection in the context of model-based testing
    Cartaxo, Emanuela G.
    Machado, Patricia D. L.
    Oliveira Neto, Francisco G.
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2011, 21 (02) : 75 - 100
  • [6] Test case prioritization: a systematic mapping study
    Catal, Cagatay
    Mishra, Deepti
    [J]. SOFTWARE QUALITY JOURNAL, 2013, 21 (03) : 445 - 478
  • [7] Adaptive Random Testing: The ART of test case diversity
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Merkel, Robert G.
    Tse, T. H.
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2010, 83 (01) : 60 - 66
  • [8] Normalized Compression Distance of Multisets with Applications
    Cohen, Andrew R.
    Vitanyi, Paul M. B.
    [J]. IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2015, 37 (08) : 1602 - 1614
  • [9] Supporting controlled experimentation with testing techniques: An infrastructure and its potential impact
    Do, HS
    Elbaum, S
    Rothermel, G
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2005, 10 (04) : 405 - 435
  • [10] Test case prioritization: A family of empirical studies
    Elbaum, S
    Malishevsky, AG
    Rothermel, G
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (02) : 159 - 182