Title :
Specifying constraints with message sequence specifications
Author :
Tu, Yongzhong ; Tsai, Wei-Tek ; Xiang, Yang
Author_Institution :
Dept. of Comput. Sci. & Eng., Minnesota Univ., Minneapolis, MN, USA
Abstract :
Message framework sequence specifications (MFSS) have been proposed to specify message sequences for object-oriented (OO) frameworks. This paper adds additional sequence constraints such as loop constraints, object relationship constraints, static and dynamic data constraints to MFSS. These additions are useful in generating test scenarios using various testing strategies such as partition testing, random testing, and stress testing. The enhanced MFSS, MFSS+, can be viewed graphically so to facilitate programmer understanding as well. This paper also presents computation rules that can be useful in generating test scenarios automatically. The syntax and semantics of MFSS+ are also presented. Finally, this paper uses MFSS+ to test an example OO framework. The test scenarios generated successfully detect all the bugs initially seeded
Keywords :
data integrity; formal specification; object-oriented programming; program testing; sequences; computation rules; constraint specification; dynamic data constraints; loop constraints; message framework sequence specifications; object relationship constraints; object-oriented frameworks; partition testing; programmer understanding; random testing; semantics; sequence constraints; static data constraints; stress testing; syntax; Application software; Automatic testing; Computer bugs; Computer science; Programming profession; Software testing; Stress; System testing; Unified modeling language;
Conference_Titel :
Software Engineering Conference, 1999. (APSEC '99) Proceedings. Sixth Asia Pacific
Conference_Location :
Takamatsu
Print_ISBN :
0-7695-0509-0
DOI :
10.1109/APSEC.1999.809625