Automated test data generation based on particle swarm optimisation with convergence speed controller

11Citations
Citations of this article
21Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Automated test data generation for path coverage (ATDG-PC) plays an important role in software testing. In this study, ATDG-PC is applied to the case of cloud computing such as Hadoop programmes which are more difficult to search for high-rate path coverage than the normal programmes. The search scale of ATDG-PC is usually enormous, while the relationship between the variables and the paths is unknown. First, a rapid metaheuristic algorithm particle swarm optimisation (PSO) was chosen to solve the problem of large-scale search. Second, the strategy of convergence speed controller was used to improve the performance of PSO by mining heuristic information from the found paths. The controller adjusts the convergence speed balance periodically by two conditions and rules. The first strategy slows the convergence speed when the algorithm is premature convergence and is trapped in a local optimum. The second strategy accelerates the convergence speed if the algorithm does not converge after many iterations. The effectiveness of the proposed algorithm is evaluated by classic Hadoop programmes of cloud computing. The experimental results indicate that the proposed algorithm can reduce a great number of test cases for path coverage, compared with other metaheuristic algorithms for automated test data generation.

Cite

CITATION STYLE

APA

Liu, F., Huang, H., Li, X., & Hao, Z. (2017). Automated test data generation based on particle swarm optimisation with convergence speed controller. CAAI Transactions on Intelligence Technology, 2(2), 73–79. https://doi.org/10.1049/trit.2017.0004

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free