Comparing and Combining File-Based Selection and Similarity-Based Prioritization Towards Regression Test Orchestration

被引:6
作者
Greca, Renan [1 ]
Miranda, Breno [2 ]
Gligoric, Milos [3 ]
Bertolino, Antonia [4 ]
机构
[1] Gran Sasso Sci Inst, Laquila, Italy
[2] Univ Fed Pernambuco, Recife, PE, Brazil
[3] Univ Texas Austin, Austin, TX 78712 USA
[4] CNR, ISTI, Rome, Italy
来源
3RD ACM/IEEE INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2022) | 2022年
基金
美国国家科学基金会;
关键词
regression testing; test case selection; test case prioritization; test orchestration; Fastazi; MINIMIZATION;
D O I
10.1145/3524481.3527223
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test case selection (TCS) and test case prioritization (TCP) techniques can reduce time to detect the first test failure. Although these techniques have been extensively studied in combination and isolation, they have not been compared one against the other. In this paper, we perform an empirical study directly comparing TCS and TCP approaches, represented by the tools Ekstazi and FAST, respectively. Furthermore, we develop the first combination, named Fastazi, of file-based TCS and similarity-based TCP and evaluate its benefit and cost against each individual technique. We performed our experiments using 12 Java-based open-source projects. Our results show that, in the median case, the combined approach detects the first failure nearly two times faster than either Ekstazi alone (with random test ordering) or FAST alone (without TCS). Statistical analysis shows that the effectiveness of Fastazi is higher than that of Ekstazi, which in turn is higher than that of FAST. On the other hand, FAST adds the least overhead to testing time, while the difference between the additional time needed by Ekstazi and Fastazi is negligible. Fastazi can also improve failure detection in scenarios where the time available for testing is restricted.
引用
收藏
页码:115 / 125
页数:11
相关论文
共 37 条
  • [1] Test case selection-prioritization approach based on memoization dynamic programming algorithm
    Banias, Ovidiu
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 115 : 119 - 130
  • [2] Learning-to-Rank vs Ranking-to-Learn: Strategies for Regression Testing in Continuous Integration
    Bertolino, Antonia
    Guerriero, Antonio
    Miranda, Breno
    Pietrantuono, Roberto
    Russo, Stefano
    [J]. 2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 1 - 12
  • [3] On the search for industry-relevant regression testing research
    bin Ali, Nauman
    Engstrom, Emelie
    Taromirad, Masoumeh
    Mousavi, Mohammad Reza
    Minhas, Nasir Mehmood
    Helgesson, Daniel
    Kunze, Sebastian
    Varshosaz, Mahsa
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (04) : 2020 - 2055
  • [4] Cibulski H., 2011, 2011 IEEE Fourth International Conference on Software Testing, Verification and Validation Workshops (ICSTW), P115, DOI 10.1109/ICSTW.2011.28
  • [5] Coverage-based regression test case selection, minimization and prioritization: a case study on an industrial system
    Di Nardo, Daniel
    Alshahwan, Nadia
    Briand, Lionel
    Labiche, Yvan
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2015, 25 (04) : 371 - 396
  • [6] Techniques for Improving Regression Testing in Continuous Integration Development Environments
    Elbaum, Sebastian
    Rothermel, Gregg
    Penix, John
    [J]. 22ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (FSE 2014), 2014, : 235 - 245
  • [7] Epitropakis Michael G., 2015, P INT S SOFTWARE TES, P234, DOI [10.1145/2771783.2771788, DOI 10.1145/2771783.2771788]
  • [8] Multi-objective regression test selection in practice: An empirical study in the defense software industry
    Garousi, Vahid
    Ozkan, Ramazan
    Betin-Can, Aysu
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 103 : 40 - 54
  • [9] Gligoric M., 2014, P 29 ACM IEEE INT C, P361, DOI [10.1145/2642937.2643019, DOI 10.1145/2642937.2643019]
  • [10] Gligoric M., 2015, PROC ACM SIGSOFT INT, P211, DOI DOI 10.1145/2771783.2771784