Less is More: A Minimalistic Approach to UML Model-Based Conformance Test Generation

  • Authors:
  • Matthew Kaplan;Tim Klinger;Amit M. Paradkar;Avik Sinha;Clay Williams;Cemal Yilmaz

  • Affiliations:
  • -;-;-;-;-;-

  • Venue:
  • ICST '08 Proceedings of the 2008 International Conference on Software Testing, Verification, and Validation
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a minimalist approach to model-based test generation. Our approach leverages the information provided in the domain and behavioral models of an application under test to produce a small yet effective set of test cases without additional user input. The domain model consists of UML class diagram with invariants, while the behavioral model consists of UML use cases. Each use case flow has an associated guard condition and a set of updates (to the domain object diagram and the output parameters). We treat the model invariants to enable a novel specify once, test everywhere paradigm. Our approach frees the modeler from the responsibility of specifying appropriate alternate flows on use cases affected by each invariant - our analysis augments the specified use cases with appropriate alternate flows. Our approachthen produces suitable testing goals which are refinements of the guard conditions on the augmented flows using a set of fault models. Another salient feature of our approach is generation of verification sequences to ensure that the object diagram updates associated with a given flow are implemented correctly. Our technique uses a novel set of fault models to mutate an object diagram and a novel algorithm which distinguishes between the original and the mutated object diagrams. We describe the techniques used in our test generation approach.