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 条
  • [41] Test Case Prioritization Techniques for Software Product Line: A Survey
    Kumar, Satendra
    Rajkumar
    [J]. 2016 IEEE INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND AUTOMATION (ICCCA), 2016, : 884 - 889
  • [42] Test Case Prioritization Using Firefly Algorithm for Software Testing
    Khatibsyarbini, Muhammad
    Isa, Mohd Adham
    Jawawi, Dayang N. A.
    Hamed, Haza Nuzly Abdull
    Suffian, Muhammad Dhiauddin Mohamed
    [J]. IEEE ACCESS, 2019, 7 : 132360 - 132373
  • [43] A Comparison of Test Case Prioritization Criteria for Software Product Lines
    Sanchez, Ana B.
    Segura, Sergio
    Ruiz-Cortes, Antonio
    [J]. 2014 IEEE SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2014, : 41 - 50
  • [44] Regression test case selection and prioritization for object oriented software
    Yadav, Dharmveer Kumar
    Dutta, Sandip
    [J]. MICROSYSTEM TECHNOLOGIES-MICRO-AND NANOSYSTEMS-INFORMATION STORAGE AND PROCESSING SYSTEMS, 2020, 26 (05): : 1463 - 1477
  • [45] A Hierarchical Test Case Prioritization Technique for Object Oriented Software
    Vedpal
    Chauhan, Naresh
    Kumar, Harish
    [J]. 2014 INTERNATIONAL CONFERENCE ON CONTEMPORARY COMPUTING AND INFORMATICS (IC3I), 2014, : 249 - 254
  • [46] Test case prioritization techniques in software regression testing: An overview
    Qasim, Muhammad
    Bibi, Asifa
    Hussain, Syed Jawad
    Jhanjhi, N. Z.
    Humayun, Mamoona
    Sama, Najm Us
    [J]. INTERNATIONAL JOURNAL OF ADVANCED AND APPLIED SCIENCES, 2021, 8 (05): : 107 - 121
  • [47] Usability evaluation of component based software system using software metrics
    Agarwal, Jyoti
    Dubey, Sanjay Kumar
    Tiwari, Rajdev
    [J]. INTELLIGENT DECISION TECHNOLOGIES-NETHERLANDS, 2020, 14 (03): : 281 - 289
  • [48] Managing the component-based software engineering with metrics
    Dumke, RR
    Winkler, AS
    [J]. FIFTH INTERNATIONAL SYMPOSIUM ON ASSESSMENT OF SOFTWARE TOOLS AND TECHNOLOGIES, PROCEEDINGS, 1997, : 104 - 110
  • [49] Comparative Analysis of Component Based Software Engineering Metrics
    Narang, Kiran
    Goswami, Puneet
    [J]. PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE CONFLUENCE 2018 ON CLOUD COMPUTING, DATA SCIENCE AND ENGINEERING, 2018, : 1 - 6
  • [50] Design of Dynamic Metrics to Measure Component Based Software
    Kumar, Parveen
    Tomar, Pradeep
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND AUTOMATION (ICCCA), 2017, : 753 - 757