Back to Search Start Over

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

Authors :
Lv, Xue-Wei
Huang, Song
Hui, Zhan-Wei
Ji, Hai-Jin
Source :
IET Software (Wiley-Blackwell). Aug2018, Vol. 12 Issue 4, p306-317. 12p.
Publication Year :
2018

Abstract

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. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
17518806
Volume :
12
Issue :
4
Database :
Academic Search Index
Journal :
IET Software (Wiley-Blackwell)
Publication Type :
Academic Journal
Accession number :
148479945
Full Text :
https://doi.org/10.1049/iet-sen.2017.0260