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


Generating combinatorial test suite using combinatorial optimization
Affiliation:1. State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, China;2. University of Chinese Academy of Sciences, China;3. Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, China;4. State Key Laboratory of Rail Traffic Control and Safety, Beijing Jiaotong University, China;5. Department of Computer Science, College of Engineering and Applied Science, University of Colorado at Colorado Springs, United States;1. Center for Sustainability and the Global Environment, SAGE, the Nelson Institute and Department of Population Health Sciences, University of Wisconsin, Madison, WI 53726, USA;2. Department of Environmental Sciences & Engineering, University of North Carolina, Chapel Hill, NC, USA
Abstract:Combinatorial testing (CT) is an effective technique to test software with multiple configurable parameters. It is used to detect interaction faults caused by the combination effect of parameters. CT test generation aims at generating covering arrays that cover all t-way parameter combinations, where t is a given covering strength. In practical CT usage scenarios, there are usually constraints between parameters, and the performance of existing constraint-handling methods degrades fast when the number of constraints increases.The contributions of this paper are (1) we propose a new one-test-at-a-time algorithm for CT test generation, which uses pseudo-Boolean optimization to generate each new test case; (2) we have found that pursuing the maximum coverage for each test case is uneconomic, and a possible balance point is to keep the approximation ratio in 0.8,0.9]; (3) we propose a new self-adaptive mechanism to stop the optimization process at a proper time when generating each test case; (4) extensive experimental results show that our algorithm works fine on existing benchmarks, and the constraint-handling ability is better than existing approaches when the number of constraints is large; and (5) we propose a method to translate shielding parameters (a common type of constraints) into normal constraints.
Keywords:Combinatorial testing  Test generation  Combinatorial optimization
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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