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 条
  • [1] GA-based multiple paths test data generator
    Ahmed, Moataz A.
    Hermadi, Irman
    [J]. COMPUTERS & OPERATIONS RESEARCH, 2008, 35 (10) : 3107 - 3124
  • [2] Arcuri A, 2014, LECT NOTES COMPUT SC, V8636, P1
  • [3] Asrafi M., 2011, Proceedings of the 2011 Fifth International Conference on Secure Software Integration and Reliability Improvement (SSIRI 2011), P147, DOI 10.1109/SSIRI.2011.21
  • [4] Baresel Andre., 2002, Proceedings of the Genetic and Evolutionary Computation Conference, GECCO '02, P1329
  • [5] Barros Mrciode Oliveira., 2011, RELATE DIA, V5
  • [6] Binkley D, 2015, IEEE INT WORK C SO, P1, DOI 10.1109/SCAM.2015.7335396
  • [7] Fuzzy clustering based on Forest optimization algorithm
    Chaghari, Arash
    Feizi-Derakhshi, Mohammad-Reza
    Balafar, Mohammad-Ali
    [J]. JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2018, 30 (01) : 25 - 32
  • [8] Chen TY, 2020, Arxiv, DOI arXiv:2002.12543
  • [9] Chen Y., 2009, 2009 5 INT C NATURAL, V4, P177, DOI [10.1109/ICNC.2009.235, DOI 10.1109/ICNC.2009.235]
  • [10] Feature selection using Forest Optimization Algorithm
    Ghaemi, Manizheh
    Feizi-Derakhshi, Mohammad-Reza
    [J]. PATTERN RECOGNITION, 2016, 60 : 121 - 129