Test adequacy assessment for UML design model testing

Systematic design testing, in which executable models of behaviors are tested using inputs that exercise scenarios, can help reveal flaws in designs before they are implemented in code. We present a testing method in which executable forms of the Unified Modeling Language (UML) models are tested. The method incorporates the use of test adequacy criteria based on UML model elements in class diagrams and interaction diagrams. Class diagram criteria are used to determine the object configurations on which tests are run while interaction diagram criteria are used to determine the sequences of messages that should be tested. The criteria can be used to define test objectives for UML designs. In this paper, we describe and illustrate the use of the proposed test method and adequacy criteria.

[1]  Gail E. Kaiser,et al.  Adequate testing and object-oriented programming , 1990 .

[2]  Elaine J. Weyuker,et al.  The Cost of Data Flow Testing: An Empirical Study , 1990, IEEE Trans. Software Eng..

[3]  Lionel C. Briand,et al.  A UML-Based Approach to System Testing , 2001, UML.

[4]  Stephen J. Mellor,et al.  Executable UML - A Foundation for Model-Driven Architecture , 2002, Addison Wesley object technology series.

[5]  A. J. Offutt,et al.  Testing object-oriented software using the category-partition method , 1995 .

[6]  David J. Robson,et al.  The state-based testing of object-oriented programs , 1993, 1993 Conference on Software Maintenance.

[7]  John D. McGregor,et al.  Incremental testing of object-oriented class structures , 1992, ICSE '92.

[8]  Robert V. Binder,et al.  Testing Object-Oriented Systems: Models, Patterns, and Tools , 1999 .

[9]  M. Scheetz,et al.  Generating test cases from an OO model with an AI planning system , 1999 .

[10]  Phyllis G. Frankl,et al.  Case studies on testing object-oriented programs , 1991, TAV4.

[11]  John D. McGregor,et al.  Incremental Testing Of Object-Oriented Class Structures/spl dagger/ , 1992, International Conference on Software Engineering.

[12]  A. Jefferson Offutt,et al.  Generating Tests from UML Specifications , 1999, UML.

[13]  Dirk Riehle,et al.  The architecture of a UML virtual machine , 2001, OOPSLA '01.

[14]  Robert B. France,et al.  Test adequacy criteria for UML design models , 2003, Softw. Test. Verification Reliab..

[15]  Marc J. Balcer,et al.  The category-partition method for specifying and generating fuctional tests , 1988, CACM.

[16]  A. Jefferson Offutt,et al.  Using UML Collaboration Diagrams for Static Checking and Test Generation , 2000, UML.