Title :
Use of sequencing constraints for specifying, testing, and debugging concurrent programs
Author :
Tai, Kuo-Chung ; Carver, Richard H.
Author_Institution :
Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
Abstract :
This paper introduces the use of sequencing constraints for specifying, testing, and debugging concurrent programs. An execution of a concurrent program P nondeterministically exercises a sequence of synchronization events, called a synchronization sequence (or SYN-sequence). Sequencing constraints (or constraints) specify restrictions on the allowed SYN-sequences of P. Constraints for P are derived from a formal or informal specification of P and do not have to be complete. The SYN-sequences collected during nondeterministic testing of P can be used to measure coverage and detect violations of P´s constraints. Also, SYN-sequences can be generated according to P´s constraints and used for deterministic testing of P. This paper shows in detail how to accomplish coverage and detect violations of constraints written in CSPE (Constraints on Succeeding and Preceding Events) by nondeterministic and deterministic testing
Keywords :
parallel programming; program debugging; program testing; concurrent programs; debugging; deterministic testing; nondeterministic testing; sequencing constraints; specifying; synchronization events; synchronization sequence; testing,; Computer science; Concurrent computing; Costs; Debugging; Distributed computing; Event detection; Sequential analysis; Software testing; System testing; Writing;
Conference_Titel :
Parallel and Distributed Systems, 1994. International Conference on
Conference_Location :
Hsinchu
Print_ISBN :
0-8186-6555-6
DOI :
10.1109/ICPADS.1994.590309