期刊名称:Journal of King Saud University @?C Computer and Information Sciences
印刷版ISSN:1319-1578
出版年度:2020
卷号:32
期号:4
页码:514-521
DOI:10.1016/j.jksuci.2019.05.004
出版社:Elsevier
摘要:Search based test data generation has gained popularity in recent times. Mutation testing can assist in improving the effectiveness of the generated test data. We recently proposed PSO-MT (Particle Swarm Optimization along with Mutation Testing) for generation of test data. In this paper, we fortify our proposal by applying the proposed approach on larger programs from Software-artifact Infrastructure Repository (SIR). PSO exhibits similar working characteristics with those of Genetic Algorithm (GA) which has extensively been applied for evolution of test data with mutation testing. The results are evaluated against comparison with GA used with mutation testing (GA-MT) for generation of test data which is already implemented in the literature of Search based Mutation Testing. The results depict that PSO-MT exhibits better computational efficiency than GA-MT for most of the benchmark programs. Statistical test (MannWhitney U -test) has been conducted to statistically analyze the presented results.
关键词:Particle Swarm Optimization ; Search;based mutation testing ; Genetic Algorithm ; Test case generation ; Test case optimization