Test adequacy criteria for UML design models
Authors:
- 1 April 2003
- journal article
- research article
- Published by Wiley in Software Testing, Verification and Reliability
- Vol. 13 (2) , 95-127
Abstract
Systematic design testing, in which executable models of behaviours are tested using inputs that exercise scenarios, can help reveal flaws in designs before they are implemented in code. In this paper a technique for testing executable forms of UML (Unified Modelling Language) models is described and test adequacy criteria based on UML model elements are proposed. The criteria can be used to define test objectives for UML designs. The UML design test criteria are based on the same premise underlying code test criteria: coverage of relevant building blocks of models is highly likely to uncover faults. The test adequacy criteria proposed in this paper are based on building blocks for UML class 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. Copyright © 2003 John Wiley & Sons, Ltd.Keywords
This publication has 11 references indexed in Scilit:
- Incremental Testing Of Object-Oriented Class Structures†2005
- A UML-Based Approach to System Testing2001
- Using UML Collaboration Diagrams for Static Checking and Test Generation2000
- Generating Tests from UML Specifications1999
- State-based model checking of event-driven system requirementsIEEE Transactions on Software Engineering, 1993
- Case studies on testing object-oriented programs1991
- Analysis and refinement of software test data adequacy propertiesIEEE Transactions on Software Engineering, 1991
- The cost of data flow testing: an empirical studyIEEE Transactions on Software Engineering, 1990
- The category-partition method for specifying and generating functional testsCommunications of the ACM, 1988
- Toward a theory of test data selectionIEEE Transactions on Software Engineering, 1975