Skip to main content

Empirical Study of Hybrid Optimization Strategy for Evolutionary Testing

  • Conference paper
  • First Online:
Data Science (ICPCSEE 2019)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1059))

Abstract

Evolutionary testing (ET) is an effective test case generation technique which uses some meta-heuristic search algorithm, especially genetic algorithm, to generate test case automatically. However, the population prematurity problem may decrease the performance of ET. In this paper, a hybrid optimization strategy is proposed based on extended cataclysm which integrates both static configuration strategies and dynamic optimization strategy. Dynamic optimization strategy included the optimization of initial population and the dynamic population optimization based on extended cataclysm, where the diversity of population was monitored during the evolution process of ET, and once the population prematurity was detected, extended cataclysm operation was used to renew the diversity of the population. Experimental results show that the hybrid optimization strategy can improve the performance of ET.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Pargas, R.P., Harrold, M.J., Peck, R.R.: Test - data generation using genetic algorithms. Softw. Test. Verif. Reliab. 9(4), 263–282 (1999)

    Article  Google Scholar 

  2. Pachauri, A., Srivastava, G.: Automated test data generation for branch testing using genetic algorithm: an improved approach using branch ordering, memory and elitism. J. Syst. Softw. 86(5), 1191–1208 (2013)

    Article  Google Scholar 

  3. Bauersfeld, S., Wappler, S., Wegener, J.: A metaheuristic approach to test sequence generation for applications with a GUI. In: Cohen, M.B., Ó Cinnéide, M. (eds.) SSBSE 2011. LNCS, vol. 6956, pp. 173–187. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-23716-4_17

    Chapter  Google Scholar 

  4. Fraser, G., Arcuri, A., McMinn, P.: A memetic algorithm for whole test suite generation. J. Syst. Softw. 103, 311–327 (2015)

    Article  Google Scholar 

  5. Jia, Y., Harman, M.: An analysis and survey of the development of mutation testing. IEEE Trans. Softw. Eng. 37(5), 649–678 (2011)

    Article  Google Scholar 

  6. Vos, T.E.J., Baars, A.I., Lindlar, F.F., et al.: Industrial case studies for evaluating search based structural testing. Int. J. Softw. Eng. Knowl. Eng. 22(08), 1123–1149 (2012)

    Article  Google Scholar 

  7. Anand, S., Burke, E.K., Chen, T.Y., et al.: An orchestrated survey of methodologies for automated software test case generation. J. Syst. Softw. 86(8), 1978–2001 (2013)

    Article  Google Scholar 

  8. Arcuri, A., Fraser, G.: On parameter tuning in search based software engineering. In: Cohen, M.B., Ó Cinnéide, M. (eds.) SSBSE 2011. LNCS, vol. 6956, pp. 33–47. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-23716-4_6

    Chapter  Google Scholar 

  9. Arcuri, A., Fraser, G.: Parameter tuning or default values? An empirical investigation in search-based software engineering. Empir. Softw. Eng. 18(3), 594–623 (2013)

    Article  Google Scholar 

  10. Dimitar, M., Dimitrov, I.M., Spasov, I.: Evotest-framework for customizable implementation of evolutionary testing. In: International Workshop on Software and Services (2008)

    Google Scholar 

  11. Inkumsah, K., Xie, T.: Improving structural testing of object-oriented programs via integrating evolutionary testing and symbolic execution. In: Proceedings of the 2008 23rd IEEE/ACM International Conference on Automated Software Engineering, pp. 297–306. IEEE Computer Society (2008)

    Google Scholar 

  12. McMinn, P., Harman, M., Lakhotia, K., et al.: Input domain reduction through irrelevant variable removal and its effect on local, global, and hybrid search-based structural test data generation. IEEE Trans. Softw. Eng. 38(2), 453–477 (2012)

    Article  Google Scholar 

  13. Sofokleous, A.A., Andreou, A.S.: Automatic, evolutionary test data generation for dynamic software testing. J. Syst. Softw. 81(11), 1883–1898 (2008)

    Article  Google Scholar 

  14. McMinn, P., Binkley, D., Harman, M.: Empirical evaluation of a nesting testability transformation for evolutionary testing. ACM Trans. Softw. Eng. Methodol. (TOSEM) 18(3), 11 (2009)

    Article  Google Scholar 

  15. McMinn, P., Holcombe, M.: Evolutionary testing using an extended chaining approach. Evol. Comput. 14(1), 41–64 (2006)

    Article  Google Scholar 

  16. Xie, X., Xu, B., Shi, L., et al.: A dynamic optimization strategy for evolutionary testing. In: 12th Asia-Pacific Software Engineering Conference, APSEC 2005, 8 pp. IEEE (2005)

    Google Scholar 

  17. McMinn, P.: Search-based software testing: past, present and future. In: 2011 IEEE Fourth International Conference on Software Testing, Verification and Validation Workshops (ICSTW), pp. 153–163. IEEE (2011)

    Google Scholar 

  18. Wu, X., Zhu, Z.: Research on diversity measure of genetic algorithms. Inf. Control Shenyang 34(4), 416–422 (2005)

    MathSciNet  Google Scholar 

  19. Harman, M.: Testability transformation for search-based testing. In: Keynote of the 1st International Workshop on Search-Based Software Testing (SBST) in Conjunction with ICST 2008 (2008)

    Google Scholar 

  20. Arcuri, A.: A theoretical and empirical analysis of the role of test sequence length in software testing for structural coverage. IEEE Trans. Softw. Eng. 38(3), 497–519 (2012)

    Article  Google Scholar 

  21. Harman, M.: Automated test data generation using search based software engineering. In: Proceedings of the Second International Workshop on Automation of Software Test, p. 2. IEEE Computer Society (2007)

    Google Scholar 

  22. Harman, M, McMinn, P.: A theoretical & empirical analysis of evolutionary testing and hill climbing for structural test data generation. In: Proceedings of the 2007 International Symposium on Software Testing and Analysis, pp. 73–83. ACM (2007)

    Google Scholar 

  23. Lakhotia, K., Harman, M., McMinn, P.: A multi-objective approach to search-based test data generation. In: Proceedings of the 9th Annual Conference on Genetic and Evolutionary Computation, pp. 1098–1105. ACM (2007)

    Google Scholar 

  24. Zhao, Y., Zhang, Q., Wang, B.: Improving the lower bounds of DNA encoding with combinational constraints. J. Comput. Theor. Nanosci. 9(1), 50–54 (2012)

    Article  Google Scholar 

  25. Eichie, J.O., Oyedum, O.D., Ajewole, M.O., et al.: Artificial Neural Network model for the determination of GSM Rxlevel from atmospheric parameters. Eng. Sci. Technol. Int. J. 20(2), 795–804 (2017)

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported in part by National Natural Science Foundation of China under Grant No. 61806068, 61672204, by Visiting Scholar at Home and Aboard Funded Project of Universities of Anhui Province under Grant gxfxZD2016209, by Key Technologies R&D Program of Anhui Province under Grant 1804a09020058, by the Major Program for Scientific and Technological of Anhui Province under Grant 17030901026, by Talent Research Foundation Project of Hefei University under Grant 16-17RC23, by Humanities and Social Science Research Project of Universities of Anhui Province under Grant SK2018A0605.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chunling Hu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hu, C., Li, B., Wang, X., Lv, G. (2019). Empirical Study of Hybrid Optimization Strategy for Evolutionary Testing. In: Mao, R., Wang, H., Xie, X., Lu, Z. (eds) Data Science. ICPCSEE 2019. Communications in Computer and Information Science, vol 1059. Springer, Singapore. https://doi.org/10.1007/978-981-15-0121-0_3

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-0121-0_3

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-0120-3

  • Online ISBN: 978-981-15-0121-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics