Reproducible testing of monitors
暂无分享,去创建一个
This paper describes a systematic method for testing monitor modules which control process interactions in concurrent programs. A monitor is tested by executing a concurrent program in which the processes are synchronized by a clock to make the sequence of interactions reproducible. The method separates the construction and implementation of test cases and makes the analysis of a concurrent experiment similar to the analysis of a sequential program. The implementation of a test program is almost mechanical. The method, which is illustrated by an example, has been successfully used to test a multicomputer network program written in Concurrent Pascal.
[1] Per Brinch Hansen,et al. The Architecture of Concurrent Programs , 1977 .
[2] Peter Naur. The Design of the GIER ALGOL Compiler , 1963 .
[3] Per Brinch Hansen,et al. Network: A Multiprocessor Program , 1978, IEEE Transactions on Software Engineering.
[4] Per Brinch Hansen. Testing a multiprogramming system , 1973, Softw. Pract. Exp..
[5] P. Naur. The design of the GIER ALGOL compiler Part II , 1963 .