Test case prioritization for object-oriented software: An adaptive random sequence approach based on clustering

被引:47
|
作者
Chen, Jinfu [1 ]
Zhu, Lili [1 ]
Chen, Tsong Yueh [2 ]
Towey, Dave [3 ]
Kuo, Fei-Ching [2 ]
Huang, Rubing [1 ]
Guo, Yuchi [1 ]
机构
[1] Jiangsu Univ, Sch Comp Sci & Commun Engn, Zhenjiang 202000, Peoples R China
[2] Swinburne Univ Technol, Dept Comp Sci & Software Engn, Hawthorn, Vic 3122, Australia
[3] Univ Nottingham Ningbo China, Sch Comp Sci, Ningbo 315100, Zhejiang, Peoples R China
基金
中国国家自然科学基金;
关键词
Object-oriented software; Adaptive random sequence; Test cases prioritization; Cluster analysis; Test cases selection; FAILURES;
D O I
10.1016/j.jss.2017.09.031
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test case prioritization (TCP) attempts to improve fault detection effectiveness by scheduling the important test cases to be executed earlier, where the importance is determined by some criteria or strategies. Adaptive random sequences (ARSs) can be used to improve the effectiveness of TCP based on white-box information (such as code coverage information) or black-box information (such as test input information). To improve the testing effectiveness for object-oriented software in regression testing, in this paper, we present an ARS approach based on clustering techniques using black-box information. We use two clustering methods: (1) clustering test cases according to the number of objects and methods, using the K-means and K-medoids clustering algorithms; and (2) clustered based on an object and method invocation sequence similarity metric using the K-medoids clustering algorithm. Our approach can construct ARSs that attempt to make their neighboring test cases as diverse as possible. Experimental studies were also conducted to verify the proposed approach, with the results showing both enhanced probability of earlier fault detection, and higher effectiveness than random prioritization and method coverage TCP technique. (C) 2017 Elsevier Inc. All rights reserved.
引用
收藏
页码:107 / 125
页数:19
相关论文
共 50 条
  • [1] Test Case Prioritization Using Clustering Approach for Object Oriented Software
    Yadav, Dharmveer Kumar
    Dutta, Sandip Kumar
    INTERNATIONAL JOURNAL OF INFORMATION SYSTEM MODELING AND DESIGN, 2019, 10 (03) : 92 - 109
  • [2] A Novel Test Case Generation Approach for Adaptive Random Testing of Object-Oriented Software Using K-Means Clustering Technique
    Chen, Jinfu
    Chen, Haibo
    Guo, Yuchi
    Zhou, Minmin
    Huang, Rubing
    Mao, Chengying
    IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTATIONAL INTELLIGENCE, 2022, 6 (04): : 969 - 981
  • [3] Toward a K-means clustering approach to adaptive random testing for object-oriented software
    Jinfu CHEN
    Minmin ZHOU
    T H TSE
    Tsong Yueh CHEN
    Yuchi GUO
    Rubing HUANG
    Chengying MAO
    Science China(Information Sciences), 2019, 62 (11) : 204 - 205
  • [4] Toward a K-means clustering approach to adaptive random testing for object-oriented software
    Jinfu Chen
    Minmin Zhou
    T. H. Tse
    Tsong Yueh Chen
    Yuchi Guo
    Rubing Huang
    Chengying Mao
    Science China Information Sciences, 2019, 62
  • [5] Toward a K-means clustering approach to adaptive random testing for object-oriented software
    Chen, Jinfu
    Zhou, Minmin
    Tse, T. H.
    Chen, Tsong Yueh
    Guo, Yuchi
    Huang, Rubing
    Mao, Chengying
    SCIENCE CHINA-INFORMATION SCIENCES, 2019, 62 (11)
  • [6] Adaptive Evolutionary Testing: An Adaptive Approach to Search-Based Test Case Generation for Object-Oriented Software
    Bregieiro Ribeiro, Jose Carlos
    Zenha-Rela, Mario Alberto
    de Vega, Francisco Fernandez
    NICSO 2010: NATURE INSPIRED COOPERATIVE STRATEGIES FOR OPTIMIZATION, 2010, 284 : 185 - +
  • [7] Enhancement to test case prioritization through object-oriented software architectural design
    Davila Nicanor, Leticia
    Orozco Aguirre, Hector Rafael
    Quintana Lopez, Maricela
    Banda Madrid, Abraham
    APPLICATIONS IN SOFTWARE ENGINEERING, 2021, : 131 - 138
  • [8] A heuristic-based regression test case prioritization approach for object-oriented programs
    Panigrahi, Chhabi Rani
    Mall, Rajib
    INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2014, 10 (03) : 155 - 163
  • [9] ARTOO: Adaptive Random Testing for Object-Oriented Software
    Ciupa, Ilinca
    Leitner, Andreas
    Oriol, Manuel
    Meyer, Bertrand
    ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 71 - 80
  • [10] Test case prioritization and distributed testing of object-oriented program
    Kumar, Vipin K. S.
    Mathew, Sheena
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2019, 27 (05) : 3582 - 3598