Slicing-based test case generation from UML activity diagrams
Authors:
Open Access
- 3 December 2009
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGSOFT Software Engineering Notes
- Vol. 34 (6) , 1-14
Abstract
UML diagrams are important design and modeling artifacts. These diagrams can also be used to generate test cases. We present a novel test case generation method that is based on dynamic slicing of UML activity diagrams. We use flow dependence graph (FDG) of an activity diagram to generate dynamic slices. Dynamic slices are created using an edge marking method. Slices are constructed corresponding to each conditional predicate on activity edges and test cases are automatically generated with respect to each slice. Our generated test cases satisfy path coverage criterion. Our test data generation scheme is automatic and the test data is generated considering the slice condition. We have implemented our approach to realize a prototype tool.Keywords
This publication has 34 references indexed in Scilit:
- Test adequacy criteria for UML design modelsSoftware Testing, Verification and Reliability, 2003
- Generating test data from state‐based specificationsSoftware Testing, Verification and Reliability, 2003
- A UML-Based Approach to System TestingSoftware and Systems Modeling, 2002
- Test cases generation from UML state diagramsIEE Proceedings - Software, 1999
- Using program slicing to simplify testingSoftware Testing, Verification and Reliability, 1995
- A simplified domain-testing strategyACM Transactions on Software Engineering and Methodology, 1994
- Automated software test data generationIEEE Transactions on Software Engineering, 1990
- Integrating noninterfering versions of programsACM Transactions on Programming Languages and Systems, 1989
- The category-partition method for specifying and generating functional testsCommunications of the ACM, 1988
- Programmers use slices when debuggingCommunications of the ACM, 1982