Evolutionary algorithms for the multi-objective test data generation problem

被引:51
|
作者
Ferrer, Javier [1 ]
Chicano, Francisco [1 ]
Alba, Enrique [1 ]
机构
[1] Univ Malaga, Dept Lenguajes & Ciencias Comp, E-29071 Malaga, Spain
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2012年 / 42卷 / 11期
关键词
multi-objective test data generation; branch coverage; oracle cost; evolutionary testing; evolutionary algorithms; search-based software engineering; SOFTWARE TEST DATA; GENETIC ALGORITHM;
D O I
10.1002/spe.1135
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Automatic test data generation is a very popular domain in the field of search-based software engineering. Traditionally, the main goal has been to maximize coverage. However, other objectives can be defined, such as the oracle cost, which is the cost of executing the entire test suite and the cost of checking the system behavior. Indeed, in very large software systems, the cost spent to test the system can be an issue, and then it makes sense by considering two conflicting objectives: maximizing the coverage and minimizing the oracle cost. This is what we did in this paper. We mainly compared two approaches to deal with the multi-objective test data generation problem: a direct multi-objective approach and a combination of a mono-objective algorithm together with multi-objective test case selection optimization. Concretely, in this work, we used four state-of-the-art multi-objective algorithms and two mono-objective evolutionary algorithms followed by a multi-objective test case selection based on Pareto efficiency. The experimental analysis compares these techniques on two different benchmarks. The first one is composed of 800 Java programs created through a program generator. The second benchmark is composed of 13 real programs extracted from the literature. In the direct multi-objective approach, the results indicate that the oracle cost can be properly optimized; however, the full branch coverage of the system poses a great challenge. Regarding the mono-objective algorithms, although they need a second phase of test case selection for reducing the oracle cost, they are very effective in maximizing the branch coverage. Copyright (c) 2011 John Wiley & Sons, Ltd.
引用
收藏
页码:1331 / 1362
页数:32
相关论文
共 50 条
  • [1] Data Structures in Multi-Objective Evolutionary Algorithms
    Altwaijry, Najwa
    Menai, Mohamed El Bachir
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2012, 27 (06) : 1197 - 1210
  • [2] Data Structures in Multi-Objective Evolutionary Algorithms
    Najwa Altwaijry
    Mohamed El Bachir Menai
    [J]. Journal of Computer Science and Technology, 2012, 27 : 1197 - 1210
  • [3] Data Structures in Multi-Objective Evolutionary Algorithms
    Najwa Altwaijry
    Mohamed El Bachir Menai
    [J]. Journal of Computer Science & Technology, 2012, 27 (06) : 1197 - 1210
  • [4] Expensive Multi-Objective Evolutionary Algorithm with Multi-Objective Data Generation
    Li, Jian-Yu
    Zhan, Zhi-Hui
    [J]. Jisuanji Xuebao/Chinese Journal of Computers, 2023, 46 (05): : 896 - 908
  • [5] Multi-objective evolutionary algorithms for a reliability location problem
    Alcaraz, Javier
    Landete, Mercedes
    Monge, Juan F.
    Sainz-Pardo, Jose L.
    [J]. EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2020, 283 (01) : 83 - 93
  • [6] Evolutionary algorithms for solving multi-objective travelling salesman problem
    Vui Ann Shim
    Kay Chen Tan
    Jun Yong Chia
    Jin Kiat Chong
    [J]. Flexible Services and Manufacturing Journal, 2011, 23
  • [7] Evolutionary algorithms for solving multi-objective travelling salesman problem
    Shim, Vui Ann
    Tan, Kay Chen
    Chia, Jun Yong
    Chong, Jin Kiat
    [J]. FLEXIBLE SERVICES AND MANUFACTURING JOURNAL, 2011, 23 (02) : 207 - 241
  • [8] Developing two multi-objective evolutionary algorithms for the multi-objective flexible job shop scheduling problem
    Rahmati, Seyed Habib A.
    Zandieh, M.
    Yazdani, M.
    [J]. INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 2013, 64 (5-8): : 915 - 932
  • [9] Developing two multi-objective evolutionary algorithms for the multi-objective flexible job shop scheduling problem
    Seyed Habib A. Rahmati
    M. Zandieh
    M. Yazdani
    [J]. The International Journal of Advanced Manufacturing Technology, 2013, 64 : 915 - 932
  • [10] Data mining rules using multi-objective evolutionary algorithms
    de la Iglesia, B
    Philpott, MS
    Bagnall, AJ
    Rayward-Smith, VJ
    [J]. CEC: 2003 CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-4, PROCEEDINGS, 2003, : 1552 - 1559