引用本文:姜瑛,辛国茂,单锦辉,谢冰.一种基于合约式设计的测试技术研究.软件学报,2004,15(zk):130-137
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4170次   下载 5315 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种基于合约式设计的测试技术研究
姜瑛1,2, 辛国茂1, 单锦辉1, 谢冰1
1.北京大学 信息科学技术学院 软件研究所,北京 100871;2.昆明理工大学 信息工程与自动化学院,云南 昆明 650093
摘要:
所研究的基于合约式设计的测试技术是针对Web Services的.在使用Web Services时通常会遇到两个问题:①无法准确定位测试时出现的错误;②很难测试Web Services是否符合使用者的需求.合约式设计是一种提高软件可靠性的有效方法.结合合约式设计,提出了一种基于前置条件和后置条件的Web Services测试技术,对WSDL语法进行了扩展,并在MicrosoR.NET平台上实现了原型,较好地解决了以上问题.
关键词:  Web Services  软件测试  合约式设计  前置条件  后置条件
DOI:
分类号:
基金项目:Supported by the National Natural Science Foundation of China underGrant No.60373003(国家自然科学基金);the National High-Tech Development 863 Program of China under Grant No.2001AAI13070(国家高技术研究发展计划(863));the National Grand Fundamental Research 973 Program ofChinaunder Grant No.2002CB31200003(国家重点基础研究发展规划(973));China Postdoctoral Science Foundation under Grant No.2003034077(中国博士后科学基金资助项目)
Research on a Testing Technology Based on Design-by-Contract
JIANG Ying,XIN Guo-Mao,SHAN Jin-Hui,XIE Bing
Abstract:
In order to test Web Services,a testing technology based on Design-by-Contract is proposed in this paper.Usually,there are two problems when the users are using Web Services.Firstly,they cannot locate the occurring errors during testing precisely. Secondly,it is difficult to test whether Web Services meet their requirements.Design-by-Contract is an effective method to improve software reliability.This paper proposes a testing technology for Web Services based on preconditions and postconditions,then extends the syntax of WSDL and implements a prototype on the Microsoft.NET platform,which can solve the above problems better.
Key words:  Web services  software testing  design-by-contract  precondition  postcondition

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: