DocumentCode
1671496
Title
Test sequence generation from formal specifications of distributed programs
Author
Carver, Richard H. ; Tai, K.-C.
Author_Institution
Dept. of Comput. Sci., George Mason Univ., Fairfax, VA, USA
fYear
1995
Firstpage
360
Lastpage
367
Abstract
An abstract program is a formal specification that describes the valid behavior of a distributed program without describing particular implementation mechanisms that achieve this behavior. Valid behavior can be modeled as the possible sequences of events that may be observed of a conforming concrete implementation of the abstract program. In this paper, we address the problem of how to select event sequences from an abstract program to test its concrete implementation. Sequencing constraints make explicit certain types of required properties that are expressed only implicitly by an abstract program. The sequencing constraints derived from an abstract program can be used to guide the selection of event sequences during testing. We describe a constraint notation called CSPE and show how to achieve coverage and detect violations of abstract CSPE constraints. Abstract constraints address the problem of how to compare two programs written at different levels of abstraction. Results of an empirical study of CSPE-based testing are reported
Keywords
formal specification; program testing; CSPE; abstract program; conforming concrete implementation; constraint notation; distributed programs; event sequences; formal specifications; possible sequences; test sequence generation; Computer languages; Computer science; Concrete; Distributed computing; Event detection; Formal specifications; Performance evaluation; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Distributed Computing Systems, 1995., Proceedings of the 15th International Conference on
Conference_Location
Vancouver, BC
ISSN
1063-6927
Print_ISBN
0-8186-7025-8
Type
conf
DOI
10.1109/ICDCS.1995.500040
Filename
500040
Link To Document