A Multi-Objective Particle Swarm Optimization for Test Case Selection Based on Functional Requirements Coverage and Execution Effort

被引:26
|
作者
de Souza, Luciano S. [1 ]
de Miranda, Pericles B. C. [1 ]
Prudencio, Ricardo B. C. [1 ]
Barros, Flavia de A. [1 ]
机构
[1] Fed Univ Pernambuco UFPE, Ctr Informat CIn, Recife, PE, Brazil
来源
2011 23RD IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2011) | 2011年
关键词
Software testing; Test case selection; Multi-objective optimization; PSO; Particle Swarm Optimization;
D O I
10.1109/ICTAI.2011.45
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Although software testing is a central task in the software lifecycle, it is sometimes neglected due to its high costs. Tools to automate the testing process minor its costs, however they generate large test suites with redundant Test Cases (TC). Automatic TC Selection aims to reduce a test suite based on some selection criterion. This process can be treated as an optimization problem, aiming to find a subset of TCs which optimizes one or more objective functions (i.e., selection criteria). The majority of search-based works focus on single-objective selection. In this light, we developed a mechanism for functional TC selection which considers two objectives simultaneously: maximize requirements' coverage while minimizing cost in terms of TC execution effort. This mechanism was implemented as a multi-objective optimization process based on Particle Swarm Optimization (PSO). We implemented two multi-objective versions of PSO (BMOPSO and BMOPSO-CDR). The experiments were performed on two real test suites, revealing very satisfactory results (attesting the feasibility of the proposed approach). We highlight that execution effort is an important aspect in the testing process, and it has not been used in a multi-objective way together with requirements coverage for functional TC selection.
引用
收藏
页码:245 / 252
页数:8
相关论文
共 50 条
  • [11] Multi-Objective Particle Swarm Optimization based on particle density
    Hasegawa T.
    Ishigame A.
    Yasuda K.
    IEEJ Transactions on Electronics, Information and Systems, 2010, 130 (07) : 1207 - 1212+16
  • [12] A Multi-Objective Particle Swarm Optimization Algorithm Based on Decomposition and Multi-Selection Strategy
    Ma, Li
    Dai, Cai
    Xue, Xingsi
    Peng, Cheng
    CMC-COMPUTERS MATERIALS & CONTINUA, 2025, 82 (01): : 997 - 1026
  • [13] Multi-Objective Particle Swarm Optimization-based Feature Selection for Face Recognition
    Larabi-Marie-Sainte, Souad
    Ghouzali, Sanaa
    STUDIES IN INFORMATICS AND CONTROL, 2020, 29 (01): : 99 - 109
  • [14] Particle Swarm Optimization for Feature Selection in Classification: A Multi-Objective Approach
    Xue, Bing
    Zhang, Mengjie
    Browne, Will N.
    IEEE TRANSACTIONS ON CYBERNETICS, 2013, 43 (06) : 1656 - 1671
  • [15] Adaptive multiple selection strategy for multi-objective particle swarm optimization
    Han, Honggui
    Zhang, Linlin
    Yinga, A.
    Qiao, Junfei
    INFORMATION SCIENCES, 2023, 624 : 235 - 251
  • [16] MOAFL: Potential Seed Selection with Multi-Objective Particle Swarm Optimization
    Jiang, Jinman
    Ma, Rui
    Wang, Xiajing
    He, Jinyuan
    Tian, Donghai
    Li, Jiating
    2021 THE 7TH INTERNATIONAL CONFERENCE ON COMMUNICATION AND INFORMATION PROCESSING, ICCIP 2021, 2021, : 26 - 31
  • [17] Multi-Objective particle swarm optimization algorithms – A leader selection overview
    Sheng, Lim Kian
    Ibrahim, Zuwairie
    Buyamin, Salinda
    Ahmad, Anita
    Tumari, Mohd Zaidi Mohd
    Jusof, Mohd Falfazli Mat
    Aziz, Nor Azlina Ab.
    International Journal of Simulation: Systems, Science and Technology, 2014, 15 (04): : 6 - 19
  • [18] Multi-objective particle swarm optimization based on minimal particle angle
    Gong, DW
    Zhang, Y
    Zhang, JH
    ADVANCES IN INTELLIGENT COMPUTING, PT 1, PROCEEDINGS, 2005, 3644 : 571 - 580
  • [19] Multimodal Multi-Objective Test Data Generation Method based on Particle Swarm Optimization
    Yao, Qi
    Zhang, Yizhuo
    Li, Yujia
    Liu, Fang
    Yang, Shunkun
    2024 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2024, : 61 - 71
  • [20] Constrained multi-objective optimization based on particle swarm optimization method
    Zhang, MH
    Ma, LH
    ICCC2004: PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION VOL 1AND 2, 2004, : 1765 - 1771