Skip to main content

Software Testing with Evolutionary Strategies

  • Conference paper
Rapid Integration of Software Engineering Techniques (RISE 2005)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3943))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Korel, B.: Automated software test data generation. IEEE Transactions on Software Engineering 16, 870–879 (1990)

    Article  Google Scholar 

  2. Michael, C.C., McGraw, G., Schatz, M.A.: Generating software test data by evolution. IEEE Transactions on Software Engineering 27, 1085–1110 (2001)

    Article  Google Scholar 

  3. Clarke, L.A.: A system to generate test data and symbolically execute programs. IEEE Transactions on Software Engineering 2, 215–222 (1976)

    Article  MathSciNet  Google Scholar 

  4. Miller, W., Spooner, D.L.: Automatic generation of floating-point test data. IEEE Trans. Software Eng. 2, 223–226 (1976)

    Article  MathSciNet  Google Scholar 

  5. Bird, D., Munoz, C.: Automatic generation of random self-checking test cases. IBM Systems Journal 22, 229–245 (1983)

    Article  Google Scholar 

  6. Offutt, J.: An integrated automatic test data generation system. Journal of Systems Integration 1, 391–409 (1991)

    Article  Google Scholar 

  7. Jones, B.F., Sthamer, H.H., Eyres, D.E.: Automatic structural testing using genetic algorithms. Software Engineering Journal 11, 299–306 (1996)

    Article  Google Scholar 

  8. Wegener, J., Sthamer, H., Jones, B.F., Eyres, D.E.: Testing real-time systems using genetic algorithms. Software Quality Journal 6, 127–135 (1997)

    Article  Google Scholar 

  9. Mantere, T., Alander, J.T.: Evolutionary software engineering, a review. Applied Soft Computing 5, 315–331 (2005)

    Article  Google Scholar 

  10. 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)

    Google Scholar 

  11. Tracey, N.: A search-based automated test-data generation framework for safety-critical software. PhD thesis, University of York (2000)

    Google Scholar 

  12. 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)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. Bäck, T.: Evolutionary Algorithms in Theory and Practice: Evolution Strategies, Evolutionary Programming, Genetic Algorithms. Oxford University Press, New York (1996)

    MATH  Google Scholar 

  18. Rechenberg, I.: Evolutionsstrategie: Optimierung technischer Systeme nach Prinzipien der biologischen Evolution. Fromman-Holzboog Verlag, Stuttgart (1973)

    Google Scholar 

  19. Rudolph, G.: Evolutionary Computation 1. Basic Algorithms and Operators, ch. 9, vol. 1, pp. 81–88. IOP Publishing Lt. (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics