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 条
  • [31] An Improved Multi-objective Particle Swarm Optimization
    Xu, Shengbing
    Ouyang, Zhiping
    Feng, Jiqiang
    2020 5TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND APPLICATIONS (ICCIA 2020), 2020, : 19 - 23
  • [32] A Particle Swarm Optimizer for Multi-Objective Optimization
    Cagnina, Leticia
    Esquivel, Susana
    Coello Coello, Carlos A.
    JOURNAL OF COMPUTER SCIENCE & TECHNOLOGY, 2005, 5 (04): : 204 - 210
  • [33] An Improving Multi-Objective Particle Swarm Optimization
    Fan, JiShan
    WEB INFORMATION SYSTEMS AND MINING, 2010, 6318 : 1 - 6
  • [34] An Improved Multi-Objective Particle Swarm Optimization
    Yang, Xixiang
    Zhang, Weihua
    ADVANCED SCIENCE LETTERS, 2011, 4 (4-5) : 1491 - 1495
  • [35] Multi-objective particle swarm optimization based on particle contribution and mutual information for feature selection method
    Ling, Qinghua
    Li, Zexu
    Liu, Wenkai
    Shi, Jinlong
    Han, Fei
    JOURNAL OF SUPERCOMPUTING, 2025, 81 (01):
  • [36] Modified Multi-Objective Particle Swarm Optimization Algorithm for Multi-objective Optimization Problems
    Qiao, Ying
    ADVANCES IN SWARM INTELLIGENCE, ICSI 2012, PT I, 2012, 7331 : 520 - 527
  • [37] Multi-objective robust design of vehicle structure based on multi-objective particle swarm optimization
    Liu, Haichao
    Jin, Xiangjie
    Zhang, Fagui
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2020, 39 (06) : 9063 - 9071
  • [38] A multi-objective particle swarm optimizer based on reference point for multimodal multi-objective optimization
    Li, Guosen
    Zhou, Ting
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2022, 107
  • [39] Particle ranking: An Efficient Method for Multi-Objective Particle Swarm Optimization Feature Selection
    Rashno, Abdolreza
    Shafipour, Milad
    Fadaei, Sadegh
    KNOWLEDGE-BASED SYSTEMS, 2022, 245
  • [40] Formulation and parameter selection of multi-objective deterministic particle swarm for simulation-based optimization
    Pellegrini, Riccardo
    Serani, Andrea
    Leotardi, Cecilia
    Lemma, Umberto
    Campana, Emilio F.
    Diez, Matteo
    APPLIED SOFT COMPUTING, 2017, 58 : 714 - 731