DocumentCode
3126800
Title
Integrating formal methods and testing for concurrent programs
Author
Carver, Richard H. ; Durham, Ronnie
Author_Institution
Dept. of Comput. Sci., George Mason Univ., Fairfax, VA, USA
fYear
1995
fDate
25-29 Jun 1995
Firstpage
25
Lastpage
33
Abstract
An abstract program is a formal specification that models the valid behavior of a concurrent program without describing particular implementation mechanisms that achieve this behavior. 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 the abstract program itself. The sequencing constraints derived from an abstract program can be used to guide the selection of event sequences during testing: sequences are selected to check the implementation for conformance to the required properties. We describe a constraint notation called CSPE and formally define CSPE constraints in the propositional modal μ-calculus. CSPE constraints can be automatically derived from abstract CCS and Lotos programs. Test sequences can be generated to cover the constraints. We describe a test sequence generation tool that can be used to partially automate this process. The results of an empirical study of constraint-based testing are reported
Keywords
formal specification; parallel programming; program testing; specification languages; CSPE; Lotos programs; abstract CCS; abstract program; concurrent programs testing; constraint-based testing; event sequences; formal methods; formal specification; propositional modal μ-calculus; sequencing constraints; test sequence generation tool; Algebra; Automatic testing; Automation; Carbon capture and storage; Computer science; Concrete; Formal specifications; Logic; Performance evaluation; System testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Assurance, 1995. COMPASS '95. Systems Integrity, Software Safety and Process Security. Proceedings of the Tenth Annual Conference on
Conference_Location
Gaithersburg, MD
Print_ISBN
0-7803-2680-2
Type
conf
DOI
10.1109/CMPASS.1995.521884
Filename
521884
Link To Document