Specifying Constraints with Message Sequence Specifications

  • Authors:
  • Yongzhong Tu;Wei-Tek Tsai;Yang Xiang

  • Affiliations:
  • -;-;-

  • Venue:
  • APSEC '99 Proceedings of the Sixth Asia Pacific Software Engineering Conference
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

Message Framework Sequence Specifications (MfSS) has 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, 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.