Computer Engineering and Applications ›› 2010, Vol. 46 ›› Issue (29): 58-62.DOI: 10.3778/j.issn.1002-8331.2010.29.017
• 研发、设计、测试 • Previous Articles Next Articles
REN Hong-li,ZHANG Wei,LIANG Jia-an
Received:
Revised:
Online:
Published:
Contact:
任洪丽,张 伟,梁家安
通讯作者:
Abstract: In order to meet the test requirements with the minimal test case,a method that divides test suite completely is presented,and then the test suite is simplified with ant colony algorithm.Firstly,test suite is divided into several disjoint subsets,whose elements are equivalent,according to the inter-relationship among the test requirements.Secondly,one test case is selected from each subset to form a new collection that has been abandoned some of the redundancy test cases.Then the test suite is optimized using ant colony algorithm.Finally,through the experiment,it is verified that the method proposed can produce more optimal test suite compared to the original method.
摘要: 为了达到以尽可能少的测试用例满足测试需求的目的,提出了一种先对测试用例集进行完全划分,再利用蚁群算法对其优化的方法。首先根据测试需求间的相互关系,将最初的测试用例集划分成多个互不相交的子集,每个子集中的元素为等价测试用例;其次从各个子集中选取一个测试用例,组成一个新的集合,该集合已经摒弃了部分冗余测试用例;然后利用蚁群算法对测试用例集进行最优的简化;最后通过实例证明了该方法可以产生比原有的方法更优的测试用例集。
CLC Number:
TP311
REN Hong-li,ZHANG Wei,LIANG Jia-an. Approach for optimizing test suite based on ACO[J]. Computer Engineering and Applications, 2010, 46(29): 58-62.
任洪丽,张 伟,梁家安. 基于蚁群算法的测试用例集优化方法[J]. 计算机工程与应用, 2010, 46(29): 58-62.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://cea.ceaj.org/EN/10.3778/j.issn.1002-8331.2010.29.017
http://cea.ceaj.org/EN/Y2010/V46/I29/58