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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Pargas, R.P., Harrold, M.J., Peck, R.R.: Test - data generation using genetic algorithms. Softw. Test. Verif. Reliab. 9(4), 263–282 (1999)
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)
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
Fraser, G., Arcuri, A., McMinn, P.: A memetic algorithm for whole test suite generation. J. Syst. Softw. 103, 311–327 (2015)
Jia, Y., Harman, M.: An analysis and survey of the development of mutation testing. IEEE Trans. Softw. Eng. 37(5), 649–678 (2011)
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)
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)
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
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)
Dimitar, M., Dimitrov, I.M., Spasov, I.: Evotest-framework for customizable implementation of evolutionary testing. In: International Workshop on Software and Services (2008)
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)
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)
Sofokleous, A.A., Andreou, A.S.: Automatic, evolutionary test data generation for dynamic software testing. J. Syst. Softw. 81(11), 1883–1898 (2008)
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)
McMinn, P., Holcombe, M.: Evolutionary testing using an extended chaining approach. Evol. Comput. 14(1), 41–64 (2006)
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)
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)
Wu, X., Zhu, Z.: Research on diversity measure of genetic algorithms. Inf. Control Shenyang 34(4), 416–422 (2005)
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)
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)
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)
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)
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)
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)
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)
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
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)