Using genetic programming to evolve action selection rules in traversal-based automated software testing: results obtained with the TESTAR tool

作者: Anna I. Esparcia-Alcázar , Francisco Almenar , Tanja E. J. Vos , Urko Rueda

DOI: 10.1007/S12293-018-0263-8

关键词:

摘要: Traversal-based automated software testing involves an application via its graphical user interface (GUI) and thereby taking the user’s point of view executing actions in a human-like manner. These are decided on fly, as under test (SUT) is being run, opposed to set up form sequence prior testing, that then used exercise SUT. In practice, random choice commonly decide which action execute at each state (a procedure referred monkey testing), but number alternative mechanisms have also been proposed literature. Here we propose using genetic programming (GP) evolve such selection strategy, defined list IF-THEN rules. Genetic has proved be suited for evolving all sorts programs, rules particular, provided adequate primitives (functions terminals) defined. must aim extract most relevant information from SUT dynamics process. We introduce problem hand evaluate their usefulness based various metrics. carry out experiments compare results with those obtained by Q-learning, reinforcement learning technique. Three applications Software Under Test experiments. The analysis shows potential GP strategies.

参考文章(18)
Sebastian Bauersfeld, Stefan Wappler, Joachim Wegener, A metaheuristic approach to test sequence generation for applications with a GUI symposium on search based software engineering. pp. 173- 187 ,(2011) , 10.1007/978-3-642-23716-4_17
Joel Lehman, Kenneth O. Stanley, Novelty Search and the Problem with Objectives Springer, New York, NY. pp. 37- 56 ,(2011) , 10.1007/978-1-4614-1770-5_3
Anna I. Esparcia-Alcázar, Jaroslav Moravec, Fitness approximation for bot evolution in genetic programming Soft Computing. ,vol. 17, pp. 1479- 1487 ,(2013) , 10.1007/S00500-012-0965-7
Wolfgang Banzhaf, Markus F. Brameier, Linear Genetic Programming ,(2006)
Tanja E.J. Vos, Peter M. Kruse, Nelly Condori-Fernández, Sebastian Bauersfeld, Joachim Wegener, TESTAR International Journal of Information System Modeling and Design. ,vol. 6, pp. 46- 83 ,(2015) , 10.4018/IJISMD.2015070103
Sebastian Bauersfeld, Tanja E. J. Vos, Nelly Condori-Fernandez, Alessandra Bagnato, Etienne Brosse, Evaluating the TESTAR tool in an industrial case study empirical software engineering and measurement. pp. 4- ,(2014) , 10.1145/2652524.2652588
Sebastian Bauersfeld, Antonio de Rojas, Tanja E.J. Vos, Evaluating rogue user testing in industry: An experience report research challenges in information science. pp. 1- 10 ,(2014) , 10.1109/RCIS.2014.6861051
Atif M. Memon, Mary Lou Soffa, Martha E. Pollack, Coverage criteria for GUI testing Proceedings of the 8th European software engineering conference held jointly with 9th ACM SIGSOFT international symposium on Foundations of software engineering - ESEC/FSE-9. ,vol. 26, pp. 256- 267 ,(2001) , 10.1145/503209.503244
Emil Alégroth, Robert Feldt, Lisa Ryrholm, Visual GUI testing in practice: challenges, problemsand limitations Empirical Software Engineering. ,vol. 20, pp. 694- 744 ,(2015) , 10.1007/S10664-013-9293-5