Abstract
Using genetic algorithm to transform test data generation problem into numerical optimization problem, evolution test is one of the hot topics in test data automatic generation. This paper proposed a software test data generation method based on evolution test, which was output-oriented and so suitable for black-box testing. The method transformed the coverage to software output domains into coverage to branches of pseudo-path by use of gray-box test technology. It defined a match function to describe the difference of the search trace to the aimed path, and then got its fitness function based on the match function. Some experimental results showed that the method implemented the coverage to software output domains, and was more efficient than random testing and manual testing.
Keywords
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ammann, P., Offutt, J.: Introduction to Software Testing. Cambridge University Press, Cambridge (2008)
Patton, R.: Software Testing, 2nd edn. SAMS & Pearson Education, New York (2006)
Kaner, C., Bach, J.: The Nature of Exploratory Testing. http://www.testingeducation.org. 2004
Wegener, J., Sthamer, H., Baresel, A.: Application fields for evolutionary testing. In: European Software Testing Analysis & Review, Stockholm, Sweden, November 2001
Wegener, J.: Overview of Evolutionary Testing. In: IEEE Seminal Workshop, Toronto, Canada, p. 14, May 2001
Baresel, A., Binkley, D., Harman, M., Korel, B.: Evolutionary testing in the presence of loop-assigned flags: a testability transformation approach. In: International Symposium on Software Testing and Analysis, Boston, Massachusetts, pp. 108–118 (2004)
Jones, J.A., Harrold, M.J.: Test-suite reduction and prioritization for modified condition/decision coverage. IEEE Trans. Softw. Eng. 29(3), 195–209 (2003)
Jun-lin, Q.U.A.N., Lu, L.U.: Research test case suite minimization based on genetic algorithm. Comput. Eng. Appl. 45(19), 58–61 (2009)
Lin, J.C., Yeh, P.L.: Using genetic algorithms for test case generation in path testing. In: Proceedings of the Asian Test Symposium, pp. 241–246 (2000)
Jones, B.F., Sthamer, H.H., Eyres, D.E.: Automatic structural testing using genetic algorithms. Softw. Eng. J. 11(5), 299–306 (1996)
Baresel, A., Sthamer, H., Schmidt, M.: Fitness function design to improve evolutionary structural testing. In: Genetic and Evolutionary Computation Conference, New York, USA, pp. 1329–1336 (2002)
Wegener, J.,Buhler, O.: Evaluation of different fitness functions for the evolutionary testing of an automatic parking system. In: The Genetic and Evolutionary Computation Conference, Seattle, Washington, pp. 1400–1412 (2002)
Weixiang, Z., Wenhong, L.: Application of grey-box testing method. J. Spacecr. TT&C Technol. 29(6), 86–89 (2010)
Shi, L., Baowen, X., Xie, X.: An Empirical Study of Configuration Strategies of Evolutionary Testing. Int. J. Comput. Sci. Netw. Secur. IJCSNS 6(1A), 44–49 (2006)
Zhang, W., Wei, B., Du, H.: Test case prioritization based on genetic algorithm and test-points coverage. In: Sun, X.-h., et al. (eds.) ICA3PP 2014, Part I. LNCS, vol. 8630, pp. 644–654. Springer, Heidelberg (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Zhang, W., Wei, B., Du, H. (2015). An Output-Oriented Approach of Test Data Generation Based on Genetic Algorithm. In: Wang, G., Zomaya, A., Martinez, G., Li, K. (eds) Algorithms and Architectures for Parallel Processing. ICA3PP 2015. Lecture Notes in Computer Science(), vol 9532. Springer, Cham. https://doi.org/10.1007/978-3-319-27161-3_9
Download citation
DOI: https://doi.org/10.1007/978-3-319-27161-3_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-27160-6
Online ISBN: 978-3-319-27161-3
eBook Packages: Computer ScienceComputer Science (R0)