Abstract
This paper applies the Evolutionary Strategy (ES) metaheuristic to the automatic test data generation problem. The problem consists in creating automatically a set of input data to test a program. This is a required step in software development and a time consuming task in all software companies. We describe our proposal and study the influence of some parameters of the algorithm in the results. We use a benchmark of eleven programs that includes fundamental algorithms in computer science. Finally, we compare our ES with a Genetic Algorithm (GA), a well-known algorithm in this domain. The results show that the ES obtains in general better results than the GA for the benchmark used.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Korel, B.: Automated software test data generation. IEEE Transactions on Software Engineering 16, 870–879 (1990)
Michael, C.C., McGraw, G., Schatz, M.A.: Generating software test data by evolution. IEEE Transactions on Software Engineering 27, 1085–1110 (2001)
Clarke, L.A.: A system to generate test data and symbolically execute programs. IEEE Transactions on Software Engineering 2, 215–222 (1976)
Miller, W., Spooner, D.L.: Automatic generation of floating-point test data. IEEE Trans. Software Eng. 2, 223–226 (1976)
Bird, D., Munoz, C.: Automatic generation of random self-checking test cases. IBM Systems Journal 22, 229–245 (1983)
Offutt, J.: An integrated automatic test data generation system. Journal of Systems Integration 1, 391–409 (1991)
Jones, B.F., Sthamer, H.H., Eyres, D.E.: Automatic structural testing using genetic algorithms. Software Engineering Journal 11, 299–306 (1996)
Wegener, J., Sthamer, H., Jones, B.F., Eyres, D.E.: Testing real-time systems using genetic algorithms. Software Quality Journal 6, 127–135 (1997)
Mantere, T., Alander, J.T.: Evolutionary software engineering, a review. Applied Soft Computing 5, 315–331 (2005)
Ostrowski, D.A., Reynolds, R.G.: Knowledge-based software testing agent using evolutionary learning with cultural algorithms. In: Proceedings of the Congress on Evolutionary Computation, vol. 3, pp. 1657–1663 (1999)
Tracey, N.: A search-based automated test-data generation framework for safety-critical software. PhD thesis, University of York (2000)
Tracey, N., Clark, J., Mander, K., McDermid, J.: An automated framework for structural test-data generation. In: Proceedings of the 13th IEEE Conference on Automated Software Engineering, pp. 285–288 (1998)
Díaz, E., Tuya, J., Blanco, R.: Automated Software Testing Using a Metaheuristic Technique Based on Tabu Search. In: Proceedings of the 18th IEEE International Conference on Automated Software Engineering (ASE 2003), Montreal, Quebec, Canada, pp. 310–313 (2003)
Sagarna, R., Lozano, J.A.: Variable search space for software testing. In: Proceedings of the International Conference on Neural Networks and Signal Processing, vol. 1, pp. 575–578. IEEE Press, Los Alamitos (2003)
Sagarna, R., Lozano, J.A.: Scatter search in software testing, comparison and collaboration with estimation of distribution algorithms. European Journal of Operational Research (in press, 2005)
Sthamer, H., Wegener, J., Baresel, A.: Using evolutionary testing to improve efficiency and quality in software testing. In: Proceedings of the 2nd Asia-Pacific Conference on Software Testing Analysis & Review, Melbourne, Australia (2002)
Bäck, T.: Evolutionary Algorithms in Theory and Practice: Evolution Strategies, Evolutionary Programming, Genetic Algorithms. Oxford University Press, New York (1996)
Rechenberg, I.: Evolutionsstrategie: Optimierung technischer Systeme nach Prinzipien der biologischen Evolution. Fromman-Holzboog Verlag, Stuttgart (1973)
Rudolph, G.: Evolutionary Computation 1. Basic Algorithms and Operators, ch. 9, vol. 1, pp. 81–88. IOP Publishing Lt. (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Alba, E., Chicano, J.F. (2006). Software Testing with Evolutionary Strategies. In: Guelfi, N., Savidis, A. (eds) Rapid Integration of Software Engineering Techniques. RISE 2005. Lecture Notes in Computer Science, vol 3943. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11751113_5
Download citation
DOI: https://doi.org/10.1007/11751113_5
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-34063-8
Online ISBN: 978-3-540-34064-5
eBook Packages: Computer ScienceComputer Science (R0)