Test cases generation for multiple paths based on PSO algorithm with metamorphic relations

The generation of multiple-path test cases can greatly enhance the efficiency of path-wise testing. Various methods adopting meta-heuristic algorithm to generate multiple-path test cases have been proposed, but existing methods focus on improving the meta-heuristic algorithm to get better test case...

Full description

Saved in:
Bibliographic Details
Published inIET software Vol. 12; no. 4; pp. 306 - 317
Main Authors Lv, Xue-Wei, Huang, Song, Hui, Zhan-Wei, Ji, Hai-Jin
Format Journal Article
LanguageEnglish
Published The Institution of Engineering and Technology 01.08.2018
Subjects
Online AccessGet full text
ISSN1751-8806
1751-8814
1751-8814
DOI10.1049/iet-sen.2017.0260

Cover

More Information
Summary:The generation of multiple-path test cases can greatly enhance the efficiency of path-wise testing. Various methods adopting meta-heuristic algorithm to generate multiple-path test cases have been proposed, but existing methods focus on improving the meta-heuristic algorithm to get better test case generation efficiency, and test cases covering each path needs to be generated by meta-heuristic algorithm searching. To improve efficiency, a test case generation method for multiple-path coverage is proposed in this study, which combines a particle swarm optimisation (PSO) algorithm with metamorphic relations (MRs). The method first generates a test case using the PSO algorithm, and then generates new test cases by repeatedly using MRs between test cases. This method reduces evolving numbers of PSO algorithm. The experimental results show that the proposed method can significantly enhance the efficiency in terms of fitness evaluations and time consumption.
ISSN:1751-8806
1751-8814
1751-8814
DOI:10.1049/iet-sen.2017.0260