首页 | 本学科首页   官方微博 | 高级检索  
     


Search based algorithms for test sequence generation in functional testing
Affiliation:1. Christian Doppler Laboratory MEVSS, Institute for Software Systems Engineering, Johannes Kepler University Linz, Austria;2. Software Systems Engineering, University of Hildesheim, Germany;3. Department of Computer Science and Engineering, University of Notre Dame, IN, USA;4. Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano, Italy;1. Beihang University, Beijing, 100191, China;2. ByteDance Inc., Beijing, 100083, China;1. Southwestern University of Finance and Economics, Chengdu, China;2. Department of Industrial and Manufacturing Systems Engineering, The University of Hong Kong, Pokfulam Road, Hong Kong
Abstract:ContextThe generation of dynamic test sequences from a formal specification, complementing traditional testing methods in order to find errors in the source code.ObjectiveIn this paper we extend one specific combinatorial test approach, the Classification Tree Method (CTM), with transition information to generate test sequences. Although we use CTM, this extension is also possible for any combinatorial testing method.MethodThe generation of minimal test sequences that fulfill the demanded coverage criteria is an NP-hard problem. Therefore, search-based approaches are required to find such (near) optimal test sequences.ResultsThe experimental analysis compares the search-based technique with a greedy algorithm on a set of 12 hierarchical concurrent models of programs extracted from the literature. Our proposed search-based approaches (GTSG and ACOts) are able to generate test sequences by finding the shortest valid path to achieve full class (state) and transition coverage.ConclusionThe extended classification tree is useful for generating of test sequences. Moreover, the experimental analysis reveals that our search-based approaches are better than the greedy deterministic approach, especially in the most complex instances. All presented algorithms are actually integrated into a professional tool for functional testing.
Keywords:Functional testing  Classification Tree Method  Test sequence generation  Search Based Software Engineering  Genetic Algorithm  Ant Colony Optimization
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号