Regression Test Cases Prioritization Using Clustering and Code Change Relevance

被引:11
|
作者
Haraty, Ramzi A. [1 ]
Mansour, Nashat [1 ]
Moukahal, Lama [1 ]
Khalil, Iman [1 ]
机构
[1] Lebanese Amer Univ Beirut, Dept Comp Sci & Math, Beirut, Lebanon
关键词
Clustering; regression testing; software testing; test case prioritization;
D O I
10.1142/S0218194016500248
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Regression testing is important for maintaining software quality. However, the cost of regression testing is relatively high. Test case prioritization is one way to reduce this cost. Test case prioritization techniques sort test cases for regression testing based on their importance. In this paper, we design and implement a test case prioritization method based on the location of a change. The method consists of three steps: (1) clustering test cases, (2) prioritizing the clusters with respect to the relevance of the clusters to a code change, and (3) test case prioritization within each cluster based on metrics. We propose a metric for measuring test case importance based on Requirement Complexity, Code Complexity, and Code Coverage. To evaluate our method, we apply it on a launch interceptor problem program, and measure the inclusiveness and precision for clusters of test cases with respect to code change in specific test cases. Our results show that our proposed change-based prioritization method increases the likelihood of executing more relevant test cases earlier.
引用
收藏
页码:733 / 768
页数:36
相关论文
共 50 条
  • [1] CLUSTERING BASED PRIORITIZATION OF TEST CASES
    Ramya, Paruchuri
    Sindhura, Vemuri
    Sagar, P. Vidya
    PROCEEDINGS OF THE 2018 SECOND INTERNATIONAL CONFERENCE ON INVENTIVE COMMUNICATION AND COMPUTATIONAL TECHNOLOGIES (ICICCT), 2018, : 1181 - 1185
  • [2] Regression test case prioritization by code combinations coverage
    Huang, Rubing
    Zhang, Quanjun
    Towey, Dave
    Sun, Weifeng
    Chen, Jinfu
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 169
  • [3] Change-Aware Regression Test Prioritization using Genetic Algorithms
    Altiero, Francesco
    Colella, Giovanni
    Corazza, Anna
    Di Martino, Sergio
    Peron, Adriano
    Starace, Luigi L. L.
    Proceedings - 48th Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2022, 2022, : 125 - 132
  • [4] System test case prioritization of new and regression test cases
    Srikanth, H
    Williams, L
    Osborne, J
    2005 INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING (ISESE), PROCEEDINGS, 2005, : 62 - 71
  • [5] Test Cases Prioritization for Software Regression Testing Using Analytic Hierarchy Process
    Klindee, Piyakarn
    Prompoon, Nakornthip
    PROCEEDINGS OF THE 2015 12TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER SCIENCE AND SOFTWARE ENGINEERING (JCSSE), 2015, : 168 - 173
  • [6] Optimized Regression Test using Test Case Prioritization
    Ansari, Ahlam
    Khan, Anam
    Khan, Alisha
    Mukadam, Konain
    PROCEEDINGS OF INTERNATIONAL CONFERENCE ON COMMUNICATION, COMPUTING AND VIRTUALIZATION (ICCCV) 2016, 2016, 79 : 152 - 160
  • [7] Code Coverage-Based Regression Test Selection and Prioritization in WebKit
    Beszedes, Arpad
    Gergely, Tamas
    Schrettner, Lajos
    Jasz, Judit
    Lango, Laszlo
    Gyimothy, Tibor
    2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 46 - 55
  • [8] Regression test prioritization leveraging source code similarity with tree kernels
    Altiero, Francesco
    Corazza, Anna
    Di Martino, Sergio
    Peron, Adriano
    Starace, Luigi Libero Lucio
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (08)
  • [9] Prioritization of Regression Test Cases Based on Machine Learning Methods
    Kiran, Selcuk
    Emre, Ilkim Ecem
    Tasdelen, Selen
    GAZI UNIVERSITY JOURNAL OF SCIENCE, 2025, 38 (01): : 131 - 144
  • [10] REQUIREMENT BASED SYSTEM TEST CASE PRIORITIZATION OF NEW AND REGRESSION TEST CASES
    Krishnamoorthi, R.
    Mary, S. A. Sahaaya Arul
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2009, 19 (03) : 453 - 475