Effective Generation of Test Case Based on Genetic Algorithm

Article Preview

Abstract:

With people pay more and more attention to component software testing, the generation of test case is as one of the important works of software testing, it becomes a hotspot inevitably. For component software testing, making combination of the testing method based on model and testing method based on Genetic Algorithm, this paper proposes a generating method of test case which based on UML (Unified Modeling Language) activity diagram and Genetic Algorithm, and gives the overall design and implementation steps of the method. Then this paper applies the proposed method to model the adding table business in catering management system, and design test case. The example verifies the feasibility and validity of the method.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

2952-2955

Citation:

Online since:

June 2013

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2013 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] L.L. Yu, C.Y. Fu, M. Fangbo, Software testing methods and choosing cases, Journal of Jiamusi University(Natural Science Edition) 26 (2008) 240-241.

Google Scholar

[2] J. Yan, L. Wang, H.W. Chen, Survey of model-based software testing, Computer Science 31 (2004) 184-187.

Google Scholar

[3] H.Y. Ma, S.G. Zhang, Research and implementation of software testing method based on Markov Chain model, Journal of Automation and Instrumentation 2 (2009) 78-80.

Google Scholar

[4] Y.K. Zhang, Y.M. Hou, D.W. Gui, Integrate test method for component-based software based on theory of finite automation, Computer Engineering 32 (2006) 75-78.

Google Scholar

[5] X. Xin, Research and implement on generating test case from UML model, Computer Knowledge and Technology 5 (2009) 6439-6441.

Google Scholar

[6] X.Q. Shang, Y.K. Zhang, Research of UML-based generating test case for component integration testing, Computer Engineering 32 (2006) 96-98.

Google Scholar

[7] L.L. Ma, Y.S. Lu, M.R. Liu, Research of component test case generating techniques based on metadata and UML, Computer Engineering and Design 27 (2006) 4444-4578.

Google Scholar

[8] H.M. Li, Overview of genetic algorithms, Software Guide 8 (2009) 67-68.

Google Scholar

[9] Z. Ma, Y.K. Zhang, J.Y. Li, Improved immune genetic algorithm supporting test case generation for component-based software, Computer Engineering and Application 35 (2006) 101-106.

Google Scholar

[10] L.P. Zhao, Research on optimizing for component test case, Ship Electronic Engineering 28 (2008) 188-191.

Google Scholar