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 条
  • [1] Software test case optimization method based on multi-objective particle swarm optimization
    Dalian Institute of Science and Technology, Dalian
    Liaoning
    116052, China
    Int. J. Simul. Syst. Sci. Technol., 5A (12.1-12.6):
  • [2] An Hybrid Binary Multi-Objective Particle Swarm Optimization with Local Search for Test Case Selection
    de Souza, Luciano S.
    Prudencio, Ricardo B. C.
    Barros, Flavia de A.
    2014 BRAZILIAN CONFERENCE ON INTELLIGENT SYSTEMS (BRACIS), 2014, : 414 - 419
  • [3] A Comparison Study of Binary Multi-Objective Particle Swarm Optimization Approaches for Test Case Selection
    de Souza, Luciano S.
    Prudencio, Ricardo B. C.
    Barros, Flavia de A.
    2014 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2014, : 2164 - 2171
  • [4] Parameter Selection for Particle Swarm Optimization Based on Stochastic Multi-objective Optimization
    Xu, Ming
    Gu, JiangPing
    2015 CHINESE AUTOMATION CONGRESS (CAC), 2015, : 2074 - 2079
  • [5] A Multi-Objective Particle Swarm Optimization Algorithm Based on Enhanced Selection
    Li, Xin
    Li, Xiao-Li
    Wang, Kang
    Li, Yang
    IEEE ACCESS, 2019, 7 : 168091 - 168103
  • [6] Multi-objective test case prioritization based on multi-population cooperative particle swarm optimization
    Hongman W.
    Jinzhong L.
    Ying X.
    Xiaoguang Z.
    Journal of China Universities of Posts and Telecommunications, 2020, 27 (01): : 38 - 50
  • [7] Multi-objective test case prioritization based on multi-population cooperative particle swarm optimization
    Wang Hongman
    Li Jinzhong
    Xing Ying
    Zhou Xiaoguang
    The Journal of China Universities of Posts and Telecommunications, 2020, 27 (01) : 38 - 50
  • [8] Particle swarm with equilibrium strategy of selection for multi-objective optimization
    Wang, Yujia
    Yang, Yupu
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2010, 200 (01) : 187 - 197
  • [9] A multi-objective particle swarm optimization for project selection problem
    Rabbani, M.
    Bajestani, M. Aramoon
    Khoshkhou, G. Baharian
    EXPERT SYSTEMS WITH APPLICATIONS, 2010, 37 (01) : 315 - 321
  • [10] Topology-based Personal Selection in Multi-objective Particle Swarm Optimization
    Korenaga, Takeshi
    Kondo, Nobuhiko
    Hatanaka, Toshiharu
    Uosaki, Katsuji
    2008 PROCEEDINGS OF SICE ANNUAL CONFERENCE, VOLS 1-7, 2008, : 3314 - +