Test Input Generation Using UML Sequence and State Machines Models
Authors:
- Aritra BandyopadhyayABAritra Bandyopadhyay
- Sudipto GhoshSGSudipto Ghosh
- 1 April 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 21594848,p. 121-130
Abstract
We propose a novel testing approach that combines information from UML sequence models and state machine models. Current approaches that rely solely on sequence models do not consider the effects of the message path under test on the states of the participating objects. Dinh-Trong et al. proposed an approach to test input generation using information from class and sequence models.We extend their variable assignment graph (VAG) based approach to include information from state machine models. The extended VAG (EVAG) produces multiple execution paths representing the effects of the messages on the states of their target objects.We performed mutation analysis on the implementation of a video store system to demonstrate that our test inputs are more effective than those that cover only sequence diagram paths.Keywords
This publication has 11 references indexed in Scilit:
- Testing UML designsInformation and Software Technology, 2007
- Towards traceability of model-based testing artifacts2007
- A Systematic Approach to Generate Inputs to Test UML Design Models2006 17th International Symposium on Software Reliability Engineering, 2006
- Automated support for deriving test requirements from UML statechartsSoftware and Systems Modeling, 2005
- MuJava: an automated class mutation systemSoftware Testing, Verification and Reliability, 2004
- Validation and automatic test generation on UML models: the AGATHA approachInternational Journal on Software Tools for Technology Transfer, 2004
- Test adequacy criteria for UML design modelsSoftware Testing, Verification and Reliability, 2003
- A UML-Based Approach to System Testing2001
- UML-Based integration testing2000
- On Path Cover Problems in Digraphs and Applications to Program TestingIEEE Transactions on Software Engineering, 1979