A Test Case Prioritization Approach Based on Software Component Metrics

被引:0
|
作者
Silva, Dennis Savio [1 ]
Rabelo, Ricardo [1 ]
Santos Neto, Pedro [1 ]
Britto, Ricardo [2 ]
Oliveira, Pedro Almir [3 ]
机构
[1] Univ Fed Piaui, Dept Comp Sci, Teresina, Piaui, Brazil
[2] Blekinge Inst Technol, Karlskrona, Sweden
[3] Fed Inst Maranhao, Pedreiras, Maranhao, Brazil
关键词
FUZZY-LOGIC; ALGORITHMS; SELECTION;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The most common way of performing regression testing is by executing all test cases associated with a software system. However, this approach is not scalable since time and cost to execute the test cases increase together with the system's size. A way to address this consists of prioritizing the existing test cases, aiming to maximize a test suite's fault detection rate. To address the limitations of existing approaches, in this paper we propose a new approach to maximize the rate of fault detection of test suites. Our proposal has three steps: i) infer code components' criticality values using a fuzzy inference system; ii) calculate test cases' criticality; iii) prioritize the test cases using ant colony optimization. The test cases are prioritized considering criticality, execution time and history of faults, and the resulting test suites are evaluated according to their fault detection rate. The evaluation was performed in eight programs, and the results show that the fault detection rate of the solutions was higher than in the non-ordered test suites and ones obtained using a greedy approach, reaching the optimal value when possible to verify. A sanity check was performed, comparing the obtained results to the results of a random search. The approach performed better at significant levels of statistic and practical difference, evidencing its true applicability to the prioritization of test cases.
引用
收藏
页码:2939 / 2945
页数:7
相关论文
共 50 条
  • [1] How Do Software Metrics Affect Test Case Prioritization?
    Ozawa, Masataka
    Dohi, Tadashi
    Okamura, Hiroyuki
    [J]. 2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2018, : 245 - 250
  • [2] A Novel Approach to Test Case Prioritization for Software Regression Tests
    Boyar, Tulin
    Oz, Mert
    Oncu, Ekin
    Aktas, Mehmet S.
    [J]. COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, ICCSA 2021, PT VII, 2021, 12955 : 201 - 216
  • [3] A Fault based Approach to Test Case Prioritization
    Farooq, Faiza
    Nadeem, Aamer
    [J]. 2017 INTERNATIONAL CONFERENCE ON FRONTIERS OF INFORMATION TECHNOLOGY (FIT), 2017, : 52 - 57
  • [4] A prioritization approach for software test cases based on Bayesian networks
    Mirarab, Siavash
    Tahvildari, Ladan
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2007, 4422 : 276 - +
  • [5] Test Case Prioritization with Textual Comparison Metrics
    Tumeng, Rooster
    Jawawi, Dayang Norhayati Abang
    Isa, Mohd Adham
    [J]. 2015 9TH MALAYSIAN SOFTWARE ENGINEERING CONFERENCE (MYSEC2015), 2015, : 7 - 12
  • [6] A Revisit of Metrics for Test Case Prioritization Problems
    Wang, Ziyuan
    Fang, Chunrong
    Chen, Lin
    Zhang, Zhiyi
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2020, 30 (08) : 1139 - 1167
  • [7] Neural Network Based Test Case Prioritization in Software Engineering
    Thakur, Akshit
    Sharma, Gitika
    [J]. ADVANCED INFORMATICS FOR COMPUTING RESEARCH, PT II, 2019, 956 : 334 - 345
  • [8] Test Case Prioritization Using Clustering Approach for Object Oriented Software
    Yadav, Dharmveer Kumar
    Dutta, Sandip Kumar
    [J]. INTERNATIONAL JOURNAL OF INFORMATION SYSTEM MODELING AND DESIGN, 2019, 10 (03) : 92 - 109
  • [9] Test Case Prioritization for Regression Testing of OO Software based on the complexity of Software
    Xi, Pu
    Zhao, Chenhong
    Qin, Bin
    [J]. 2011 INTERNATIONAL CONFERENCE ON COMPUTER, ELECTRICAL, AND SYSTEMS SCIENCES, AND ENGINEERING (CESSE 2011), 2011, : 5 - 8
  • [10] Applying test case prioritization to software microbenchmarks
    Christoph Laaber
    Harald C. Gall
    Philipp Leitner
    [J]. Empirical Software Engineering, 2021, 26