基于TCBR的测试用例复用方法研究  被引量:5

Research on reuse technology of test case based on TCBR

在线阅读下载全文

作  者:余祥[1] 李强[1] 孙胜军[2] 

机构地区:[1]电子工程学院科研部,安徽合肥230037 [2]南京军区司令部,江苏南京210016

出  处:《计算机工程与设计》2012年第11期4230-4234,4313,共6页Computer Engineering and Design

摘  要:为了提高设计测试用例的效率,提高软件测试效率,提出了基于测试用例推理的测试用例复用方法。介绍了基于测试用例推理方法,说明了基于测试用例推理的测试用例复用过程。确定了测试用例和测试用例集包含的要素集合,并在此基础上建立了测试用例相似度度量模型。针对模型的3个组成部分,即结构相似度、属性相似度和属性权重,分别作了计算说明,改进K最近邻算法,建立了测试用例检索算法。通过实例讨论了该方法的过程,表明了其可行性。To improve the efficiency of test case designing and software testing, a method of reuse technology of test case based on TCBR (test case-based reasoning) is put forward. Firstly, the method of TCBR is introduced, and the process of test case reuse based on TCBR is expatiated. Then, the elements set that test case and test case set included are confirmed, besides, the similarity measure of test cases is established. Three components, namely structure similarity, attribute similarity and attribute weight, are respectively accounted. Afterwards, the algorithm of test case retrieval is designed based on improved K nearest neighbor algorithm. Finally, the feasibility of the method is provided as an example to demonstrate the general process.

关 键 词:软件测试 测试用例 测试用例库 复用 相似度 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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