摘要
Java语言在并发程序方面的广泛应用对软件测试提出了新的挑战。众所周知,由于并发程序的不确定性,使得并发程序的设计、开发、调试和测试都非常困难。文章介绍了Safepro/Java中的多线程测试技术,通过对Java源程序进行适当的修改并且保持语义不变,跟踪并发Java程序的运行过程,收集有关数据并对数据进行分析,最终控制并发Java程序的重演。
: The Java language supports the use of monitors,sockets and remote method invocation for concurrent programming.However,The nondeterministic behavior of concurrent Java programs,like other concurrent programs,make the results of replay and regression testing uncertain,so they are difficult to specify,design,code,test and debug.This paper,describes the design of a tool,called Safepro/Java,which provides testing and debugging tools for concurrent Java programs.To collect run-time information or control program execution,Safepro/Java requires transformation of a concurrent Java program into a slightly different Java Program.
出处
《计算机工程与应用》
CSCD
北大核心
2001年第12期59-63,共5页
Computer Engineering and Applications
关键词
软件测试
JAVA语言
并发程序动态分析
同步序列
重演技术
软件开发
: Software Testing,Java,Dynamic Analysis of Concurrent Program,Synchronization event,Synchronization sequence,Replay