基于XMLAPI的组件扩展接口变异测试方法  被引量:4

Extension Interface Mutation Testing for Component Based on XML API

在线阅读下载全文

作  者:聂南[1] 谢晓东[1] 甘勇[2] 卢炎生[1] 

机构地区:[1]华中科技大学计算机科学与技术学院,武汉430074 [2]郑州轻工业学院计算机与通信学院,郑州450002

出  处:《计算机科学》2008年第6期283-286,共4页Computer Science

基  金:国防预研基金(51315061);中国湖北省自然科学基金(2005ABA266);河南省自然科学基金(0611054800)

摘  要:在传统的组件接口变异测试方法基础上,提出一种基于XML API的组件扩展接口变异测试方法。首先给出组件扩展接口测试的框架,建立起扩展接口的定义模型。XML API在组件内部建立处理数据集的XML校验器,实现了原组件接口的扩展。借助组件外部的XML Schema变异算子,完成了组件内部数据集的自动验证和组件接口参数的测试。该方法具有多种优点,例如可视的多功能测试接口、可跨平台的通用性的测试语言等。实验表明,该方法可以应用于COM,CORBA,EJB等多种组件的测试环境。On the basis of the traditional component interface mutation,it provides an XML API-based extension interface mutation testing approach. Firstly, the framework of component extension iflterface testing is given, and the Definition Model towards Extension Interface (DMEI) is defined. According to XML API, XML-based data validator which extends component interface is built to process dataset inside the component. Then XML Schema mutation operator outside of component validates the component data set and tests interface functions parameters automatically. The test approach has a lot of advantages, such as the muti-functional and visual testing interface, cross-platform and generalpurpose test - script language. Our preliminary experiments show that it can be applied in many component testing environments, such as CORBA, EJB and COM.

关 键 词:组件测试 XML API 接口变异 XML SCHEMA 变异算子 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论] O242.23[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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