引用本文:顾庆,陈道蓄,谢立,孙钟秀.面向Java的分布式程序测试系统.软件学报,2003,14(4):743-749
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4908次   下载 6917 本文二维码信息
码上扫一扫!
分享到: 微信 更多
面向Java的分布式程序测试系统
顾庆1, 陈道蓄1, 谢立1, 孙钟秀1
南京大学,计算机软件新技术国家重点实验室,江苏,南京,210093
摘要:
由于程序的分布运行,测试分布式程序必须同时考虑并发特性和运行环境.介绍了一个面向Java语言的分布式程序测试系统JDPT(Java-oriented distributed program testing system).JDPT基于运行环境定义事件,通过事件序列记录分布式程序的运行过程,并定义事件约束检测可行事件序列集的有效性.通过该技术,JDPT可以有效地判断程序在运行环境中并发执行的正确性,适用于跨平台的Java程序测试.
关键词:  软件测试  分布式程序测试  Java  并发程序  事件约束
DOI:
分类号:
基金项目:Supported by the Key Science-Technology Project of the National 'Ninth Five-Year-Plan' of China under Grant No.98-780-01-07- 03 (国家"九五"重点科技攻关项目); the National High-Tech Research and Development Program Plan of China under Grant No.2001AA113090 (国家高技术研究发展计划(863)
A Java-Oriented Distributed Program Testing System
GU Qing,CHEN Dao-Xu,XIE Li,SUN Zhong-Xiu
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