期刊文献+

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

Testing of service-oriented software: a metamorphic testing approach
在线阅读 下载PDF
导出
摘要 在面向服务软件的测试过程中,由于在服务发现之前不可知的交互对象和同一个服务可能会有不同实现,往往出现程序执行结果不能提前预知的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.
出处 《计算机应用》 CSCD 北大核心 2011年第7期1756-1758,共3页 journal of Computer Applications
基金 国家863计划项目(2008AA01Z142) 陕西省教育厅资助项目(2010JK299)
关键词 软件测试 面向服务架构 蜕变测试 蜕变关系 software testing Service-Oriented Architecture(SOA) Metamorphic Testing(MT) Metamorphic Relation(MR)
  • 相关文献

参考文献10

  • 1OFFUTT J,XU W. Generating test cases for Web services using data perturbation[J]. SIGSOFT Software Engineering Notes,2004,29(5):1-10.
  • 2TSAI W T,CHEN Y,CAO Z,et al. Testing Web services using progressive group testing[C] // Proceedings of Advanced Workshop on Content Computing, LNCS 3309. Berlin: Springer,2004:314-322.
  • 3KECKEL R,LOHMANN M. Towards contract-based testing of Web services[J]. Electronic Notes in Theoretical Computer Science,2005,20(3):145-156.
  • 4CHEN T Y,CHEUNG S C,YIU S M. Metamorphic testing: A new approach for generating next test cases, HKUST-CS98-01[R].Hong Kong: Hong Kong University of Science and Technology,Department of Computer Science and Engineering,1998.
  • 5CHEN T Y,TSE T H,ZHOU Z. Fault-based testing in the absence of an oracle[C] // Proceedings of the 25th Annual International Computer Software and Applications Conference. Washington,DC: IEEE Computer Society,2001: 172-178.
  • 6CHAN F T,CHEN T Y,CHEUNG S C,et al. Application of metamorphic testing in numerical analysis[C] // Proceedings of the IASTED International Conference on Software Engineering. Calgary: ACTA,1998:191-197.
  • 7CHEN T Y,FENG J,TSE T H. Metamorphic testing of programs on partial differential equations: A case study[C] // Proceedings of the 26th Annual International Computer Software and Applications Conference. Washington,DC: IEEE Computer Society,2002:34-45.
  • 8CHEN T Y,KUO F C,TSE T H,et al. Metamorphic testing and beyond[C] // Proceedings of the 11th Annual International Workshop on Software Technology and Engineering Practice. Washington,DC: IEEE Computer Society,2004:94-100.
  • 9CHEN T Y,TSE T H,ZHOU ZIQUAN. SemiProving: An integrated method based on global symbolic evaluation and metamorphic testing[C] // Proceedings of the 2002 ACM SIGSOFT International Symposium on Software Testing and Analysis. New York: ACM,2002: 191-195.
  • 10CHEN W K,CHEN T Y. Integration testing of context-sensitive middleware-based applications: A metamorphic approach[J]. International Journal of Software Engineering and Knowledge Engineering,2006,16(5): 677-703.

同被引文献11

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部