面向服务软件的蜕变测试方法  被引量:2

Testing of service-oriented software: a metamorphic testing approach

在线阅读下载全文

作  者:路晓丽[1,2] 董云卫[2] 

机构地区:[1]西北大学公共管理学院,西安710069 [2]西北工业大学计算机学院,西安710043

出  处:《计算机应用》2011年第7期1756-1758,共3页journal of Computer Applications

基  金:国家863计划项目(2008AA01Z142);陕西省教育厅资助项目(2010JK299)

摘  要:在面向服务软件的测试过程中,由于在服务发现之前不可知的交互对象和同一个服务可能会有不同实现,往往出现程序执行结果不能提前预知的Oracle问题。为了有效地解决面向服务软件测试中的Oracle问题,基于面向服务架构(SOA)的特点,提出将蜕变测试方法用于面向服务软件的单元测试和集成测试过程中,依据面向服务软件每个服务的自身性质构造蜕变关系,设计蜕变测试类执行测试用例并验证蜕变关系是否保持,如果蜕变关系被违反了,则发现和报告缺陷,从而有效地支持面向服务软件的测试。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.

关 键 词:软件测试 面向服务架构 蜕变测试 蜕变关系 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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