计算机科学 ›› 2011, Vol. 38 ›› Issue (8): 130-135.

• 软件工程 • 上一篇    下一篇

一种组合测试用例生成的可配置混合算法

孙文雯,蒋静,聂长海   

  1. (东南大学计算机科学与工程学院 南京210096);(南京大学计算机科学与技术系 南京210093)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家自然科学基金资助项目(60773104,60721002),国家高科技研究发展计划("863"计划)(2008AA01Z143) ,江苏省自然科学基金(BK2010372)资助。

Configurable Hybrid Algorithm for Combinatorial Test Suite Generation

SUN Wen-wen, JIANG Jing, NIE Chang-hai   

  • Online:2018-11-16 Published:2018-11-16

摘要: 组合测试是一种经过实践证明的科学有效的测试方法,其研究重点之一是组合测试用例集的生成算法。基于参数顺序渐进扩充策略IPO(In-Parameter-Order)是其中一种具有代表性的通用算法,其优势在于水平扩充算法的可选择性和测试用例集的可扩展性。算法在提取影响IPO策略效果的参数的基础上,给出可配置的IPO策略;采用遗传算法(Genctic-Algorithm)配置IPO策略中的水平扩充,得到新的混合算法IPO_GA。通过实验对可配置IPO策略中各个参数对算法的影响进行了对比分析;将IPO_ GA与部分已有算法进行了比较,结果表明在水平扩充过程中染色体较短时,IPO_GA效果较好;在解空间规模过大而导致染色体较长时,IPO_GA效果略差。

关键词: 组合测试,测试用例集生成,遗传算法

Abstract: Combinatorial besting is a method of testing which proves to be scientific and effective by practice, one research priority is Combinatorial Testing suite generation algorithms. In Parameter Order test generation strategy is representative in such algorithms, advantages of which relics on the selectivity of horizontal expanding and the extendibility of test suite. On the foundation of extracting the parameters which affects the implementation of IPO, a configurable framework was presented and implemented; a new mixed algorithm IPO_GA was presented which uses Genetic Algorithm to do horizontal expanding in the configurable IPO framework. Experiments and analysis were done on each parameter of the configurable IPO framework and IPO_GA was compared with some existing algorithms, results show that IPO_GA performs better while the size of a chromosome is short when doing horizontal expanding; otherwise if the size of a chromosome is too large, IPO_GA performs worse than expected.

Key words: Combinatorial testing, Test suite generation, Genetic algorithm

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!