| 摘要: |
| 由于程序的分布运行,测试分布式程序必须同时考虑并发特性和运行环境.介绍了一个面向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 |