DocumentCode :
1731742
Title :
Less is More: A Minimalistic Approach to UML Model-Based Conformance Test Generation
Author :
Kaplan, Matthew ; Klinger, Tim ; Paradkar, Amit M. ; Sinha, Avik ; Williams, Clay ; Yilmaz, Cemal
Author_Institution :
Thomas Watson Res. Center, IBM, Hawthorne, NY
fYear :
2008
Firstpage :
82
Lastpage :
91
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 approach then 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.
Keywords :
Unified Modeling Language; conformance testing; program testing; program verification; UML model-based conformance test generation; behavioral models; minimalistic approach; object diagram updates; verification sequences; Automata; Automatic testing; Concrete; Control systems; Electronic mail; Genetic mutations; Refining; Software testing; System testing; Unified modeling language; Fault Models for UML; Invariants analysis; Test Verification Sequence; UML Model-based Test Generation; Use Case Based Test Generation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification, and Validation, 2008 1st International Conference on
Conference_Location :
Lillehammer
Print_ISBN :
978-0-7695-3127-4
Type :
conf
DOI :
10.1109/ICST.2008.48
Filename :
4539535
Link To Document :
بازگشت