摘要
在传统的组件接口变异测试方法基础上,提出一种基于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.
出处
《计算机科学》
CSCD
北大核心
2008年第6期283-286,共4页
Computer Science
基金
国防预研基金(51315061)
中国湖北省自然科学基金(2005ABA266)
河南省自然科学基金(0611054800)