首页 | 本学科首页   官方微博 | 高级检索  
     

面向服务软件的蜕变测试方法
引用本文:路晓丽,董云卫.面向服务软件的蜕变测试方法[J].计算机应用,2011,31(7):1756-1758.
作者姓名:路晓丽  董云卫
作者单位:1. 西北大学 公共管理学院,西安 710069 2. 西北工业大学 计算机学院,西安 710043
基金项目:国家863计划项目,陕西省教育厅资助项目
摘    要:在面向服务软件的测试过程中,由于在服务发现之前不可知的交互对象和同一个服务可能会有不同实现,往往出现程序执行结果不能提前预知的Oracle问题。为了有效地解决面向服务软件测试中的Oracle问题,基于面向服务架构(SOA)的特点,提出将蜕变测试方法用于面向服务软件的单元测试和集成测试过程中,依据面向服务软件每个服务的自身性质构造蜕变关系,设计蜕变测试类执行测试用例并验证蜕变关系是否保持,如果蜕变关系被违反了,则发现和报告缺陷,从而有效地支持面向服务软件的测试。

关 键 词:软件测试    面向服务架构    蜕变测试    蜕变关系
收稿时间:2010-12-14
修稿时间:2011-01-28

Testing of service-oriented software: a metamorphic testing approach
LU Xiao-li,DONG Yun-wei.Testing of service-oriented software: a metamorphic testing approach[J].journal of Computer Applications,2011,31(7):1756-1758.
Authors:LU Xiao-li  DONG Yun-wei
Affiliation:1. College of Computer Science,Northwestern Polytechnic University,Xi’an Shaanxi 710043,China
2. School of Public Administration,Northwestern University,Xi’an Shaanxi 710069,China
Abstract:During the process of service-oriented software testing, Oracle problem that the program result is unpredictable comes into existence frequently because of issues like the unknown communication partners before the service discovery and the potential existence of non-identical implementations of the same service. In this paper, based on the benefits of the SOA environments, Metamorphic Testing (MT) approach was applied in the phase of unit testing and integration testing of service-oriented software. Metamorphic Relation (MR) can be built according to the service properties. A metamorphic testing class can invoke relevant services to execute test cases and use their metamorphic relations to detect failures. Any violation of any relevant metamorphic relation indicates a failure.
Keywords:software testing                                                                                                                        Service-Oriented Architecture (SOA)                                                                                                                        Metamorphic Testing (MT)                                                                                                                        Metamorphic Relation (MR)
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号