节点文献
基于XML的组件自动测试框架
Framework of Component Testing Based on XML
【摘要】 当可重用组件被应用到新的环境中时,需要经过测试来验证其功能是否符合系统要求.提出一种基于XML的组件自动测试框架,可以在组件运行的真实环境中对组件进行自动测试.所提出的测试框架包含两个部分,即测试例生成器和测试引擎.测试例生成器产生XML格式的测试套,并记录测试结果;测试引擎作为被测组件的客户,与被测组件进行消息交互,提供消息跟踪信息.由于XML文件很适合进行传输和数据交换,所以本方法可以用于测试分布式系统中的组件.
【Abstract】 When a component deployed in a new system,it is necessary to verify whether the component implements the semantics of what its clients have expected.A framework of component testing based XML is proposed,which can tests components in run-time environment automatically.The framework consists of two parts,testcases generator and test engine.Testcase generator can generate test cases in format of XML.The test engine interacts with the component under test,and provides tracing information.This approach can be used for distributed system testing because XML files can be transported and exchanged easily.
- 【文献出处】 内蒙古大学学报(自然科学版) ,Journal of Inner Mongolia University(Acta Scientiarum Naturalium Universitatis NeiMongol) , 编辑部邮箱 ,2008年04期
- 【分类号】TP311.52
- 【被引频次】1
- 【下载频次】66