- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
分布式程序测试-软件学报
面向Java的分布式程序测试系统(
顾 庆+, 陈道蓄, 谢 立, 孙钟秀
(南京大学 计算机软件新技术国家重点实验室,江苏 南京 210093)
A Java-Oriented Distributed Program Testing System
GU Qing+, CHEN Dao-Xu, XIE Li, SUN Zhong-Xiu
(State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210093, China)
+ Corresponding author: Phn: 86-25-3592339, Fax: 86-25-3300710, E-mail: guq@
Received 2002-09-03; Accepted 2002-12-04
Gu Q, Chen DX, Xie L, Sun ZX. A Java-oriented distributed program testing system. Journal of Software, 2003,14(4):743~749.
Abstract: Because the program is running in a distributed way, both the concurrent features and the runtime environments should be taken into account when testing a distributed program. A Java oriented distributed program test system is put forward in this paper, which is called JDPT (Java-oriented distributed program testing system). JDPT defines events based on the runtime environments, records execution processes of the distributed program as event sequences, and defines event sequencing constraints to check the validity of those feasible set of event sequences. By the technology, the JDPT can effectively estimate the correctness of concurrent executions of the tested program within distributed environments, and can be used to test Java programs running upon multiple platforms.
Key words: software testing; distributed program testing; Java; concurrent program; event sequencing constraints
摘 要: 由于程序的分布运行,测试分布式程序必须同时考虑并发特性和运行环境.介绍了一个面向Java语言的分布式程序测试系统JDPT(Java-oriented distributed program testing system).JDPT基于运行环境定义事件,通过事件序列记录分布式程序的运行过程,并定义事件约束检测可行事件序列集的有效性.通过该技术,JDPT可以有效地判断程序在运行环境中并发执行的正确性,适用于跨平台的Java程序测试.
关键词: 软件测试;分布式程序测试;Java;并发程序;事件约束
中图法分类号: TP311 文献标识码: A
随着Internet的普及和计算机软、硬件技术的发展,分布式程序和应用已成为今后软件开发的主要方向之一.与集中式的串行程序相比,分布式程序需要考虑与运行环境的合作以及分布单元间的并发问题,这为分布式程序测试工具带来了新的挑战.
保障分布式程序的正确性需要从两方面入手:一是从分布式程序自身出发,侧重并发程序的形式化表示和验证;二是在分布运行环境中监控和记录分布式程序的执行过程,分析程序在各种运行环境中的执行状态和性能.测试需要结合这两个方面,从形式化表示中获得规约,在运行环境中检测程序实现与规约的一致性.
目前已有的分布式程序测试工具如MAD(monitoring and debugging
文档评论(0)