环境参数与状态参数融合的测试用例集约简方法  被引量:6

Optimal test suite generation methods based on fusion of environment and state parameters

在线阅读下载全文

作  者:王俊杰[1,2] 沈湘衡[1] 张波[1,2] 权巍[1,2] 陈磊[3] 

机构地区:[1]中国科学院长春光学精密机械与物理研究所,吉林长春130033 [2]中国科学院研究生院,北京100039211101 [3]中国人民解放军理工大学理学院,江苏南京211101

出  处:《光学精密工程》2009年第7期1678-1685,共8页Optics and Precision Engineering

基  金:国家863高技术研究发展计划资助项目(No.2007AA703112)

摘  要:为提高软件测试的效率和覆盖率,对测试用例的生成方法进行了研究。以等价类划分等测试用例生成方法为基础,提出把接口参数分成环境参数和状态参数,针对这两种不同性质的参数分析测试用例生成的影响,并分别建立测试用例生成算法模型,据此在实际应用中将两者的作用融合起来生成简约测试用例集。在覆盖率相同的条件下,生成的平均测试用例数量是传统生成测试用例方法的1/5,达到了用更少的测试用例覆盖更多测试需求的目的。With the aim to improve the efficiency and the coverage rate of the software testing, the generation methods of the test cases are researched. On the basis of the test methods such as equivalence classifications, this paper presents a technique to divide the interface parameters into two types, environment parameters and state parameters. Then, the effect of two different parameters with different characters on the generation of testing cases is analyzed and their algorithm models are established respectively. According to all of these, the reducible test cases are generated by fusing their functions in practice. Experimental results show that the test cases generated by the proposed method is one fifth as high as those of traditional generation methods at the same coverage rate, which reaches the purpose of covering more test demands with fewer test cases.

关 键 词:软件测试 测试用例 参数融合 配置项 约简 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象