Forest Optimization-Based Test Case Generation for Multiple Paths With Metamorphic Relations

被引:3
作者
Sahoo, Rashmi Rekha [1 ]
Ray, Mitrabinda [1 ]
机构
[1] Siksha O Anusandhan Deemed, Bhubaneswar, Odisha, India
关键词
Branch Coverage; Forest Optimization; Metaheuristic Techniques; Metamorphic Relations; Multiple Path Coverage; Path Coverage; Software Testing; Test Case Generation; SELECTION; SEARCH;
D O I
10.4018/IJAMC.292503
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In general, multiple paths are covered by multiple runs, which is a time-consuming task. Metaheuristic techniques are widely used for path coverage. In order to reduce the time, an efficient method is proposed based on forest optimization algorithm (FOA) with metamorphic relations (MRs) that cover multiple paths at a time in one run, unlike the traditional search-based testing. In the proposed approach, initial test case is generated using FOA; the successive test cases are generated using MRs without undergoing several runs. The motive of using FOA is that the searching mechanism of this algorithm has resemblance with the branch/path coverage techniques of testing. To the best of the authors' knowledge, FOA has not been implemented in software testing. The experimental results are compared with three existing works. The efficiency of simply FOA is also shown to cover multiple paths. The results show that FOA with MRs is more efficient in terms of time consumption and number of paths covered.
引用
收藏
页数:18
相关论文
共 35 条
  • [11] Forest Optimization Algorithm
    Ghaemi, Manizheh
    Feizi-Derakhshi, Mohammad-Reza
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2014, 41 (15) : 6676 - 6687
  • [12] Gong Dun-wei, 2010, Acta Electronica Sinica, V38, P1299
  • [13] Kanewala U, 2013, PROC INT SYMP SOFTW, P1, DOI 10.1109/ISSRE.2013.6698899
  • [14] Search for Prioritized Test Cases during Web Application Testing
    Khanna, Munish
    Chauhan, Naresh
    Sharma, Dilip Kumar
    [J]. INTERNATIONAL JOURNAL OF APPLIED METAHEURISTIC COMPUTING, 2019, 10 (02) : 1 - 26
  • [15] Search for Prioritized Test Cases in Multi-Objective Environment During Web Application Testing
    Khanna, Munish
    Chauhan, Naresh
    Sharma, Dilip
    Toofani, Abhishek
    Chaudhary, Achint
    [J]. ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2018, 43 (08) : 4179 - 4201
  • [16] Automatic Generation and Optimization of Test case using Hybrid Cuckoo Search and Bee Colony Algorithm
    Lakshminarayana, P.
    SureshKumar, Dr T. V.
    [J]. JOURNAL OF INTELLIGENT SYSTEMS, 2021, 30 (01) : 59 - 72
  • [17] Cuckoo Search Algorithm with Hybrid Factor Using Dimensional Distance
    Lin, Yaohua
    Zhang, Cuiping
    Liang, Zhong
    [J]. MATHEMATICAL PROBLEMS IN ENGINEERING, 2016, 2016
  • [18] On the linking of the rheological properties of asphalt binders exposed to oven aging and PAV aging
    Liu, Fang
    Zhou, Zhidong
    Zhang, Xiao
    Wang, Yu
    [J]. INTERNATIONAL JOURNAL OF PAVEMENT ENGINEERING, 2021, 22 (03) : 331 - 340
  • [19] Test cases generation for multiple paths based on PSO algorithm with metamorphic relations
    Lv, Xue-Wei
    Huang, Song
    Hui, Zhan-Wei
    Ji, Hai-Jin
    [J]. IET SOFTWARE, 2018, 12 (04) : 306 - 317
  • [20] Mahmoudi S., 2015, INT C INF TECHN COMP