摘要
为解决最小三三组合测试用例集生成问题,在逐参数扩展策略的基础上进行简化,提出简单循环约减方法。将多种贪心策略融合应用到生成最小测试用例集的过程中,以全局测试用例集规模最小为目标,通过不断地水平直接扩展和垂直循环约减的方式,有效避免逐参数扩展策略陷入局部次优解的风险,在较大解空间内进行循环约减,提高方法全局寻优能力,得到全局近似最小测试用例集。通过Java程序实现,并与其它算法进行实验比较,验证了该方法的有效性。
To solve the problem of generating the minimum three-way combinatorial test case set,a simple-cyclic-reduce algorithm based on simplified in-parameter-order expansion strategy was proposed.To match the goal of minimizing the global three-way combinatorial test case set,several greedy strategies were combined,in the process of generating the minimum three-way combinatorial test case set,risk of falling into local suboptimal solution of in-parameter-order strategy was avoided and capability of obtaining global optimization in a larger solution space was improved through continuous horizontal expansion and vertical cyclic reduction,thus the global approximate minimum three-way combinatorial test case set was obtained.The feasibility of the method was validated by practical program written in Java and comparison with other algorithms.
作者
艾华
宋晓秋
安恒
AI Hua;SONG Xiao-qiu;AN Heng(Institute 706, Second Academy of China Aerospace Science and Industry Corporation, Beijing 100854, China)
出处
《计算机工程与设计》
北大核心
2018年第12期3728-3733,共6页
Computer Engineering and Design
关键词
三三组合
测试用例集
逐参数扩展
组合测试
软件测试
three-way combinations
test case set
in-parameter-order
combinational testing
software testing