Advanced SearchSearch Tips
M2M Transformation Rules for Automatic Test Case Generation from Sequence Diagram
facebook(new window)  Pirnt(new window) E-mail(new window) Excel Download
 Title & Authors
M2M Transformation Rules for Automatic Test Case Generation from Sequence Diagram
Kim, Jin-a; Kim, Su Ji; Seo, Yongjin; Cheon, Eunyoung; Kim, Hyeon Soo;
In model-based testing using sequence diagrams, test cases are automatically derived from the sequence diagrams. For the generation of test cases, scenarios need to be found for representing as a sequence diagram, and to extract test paths satisfying the test coverage. However, it is hard to automatically extract test paths from the sequence diagram because a sequence diagram represents loop, opt, and alt information using CombinedFragments. To resolve this problem, we propose a transformation process that transforms a sequence diagram into an activity diagram which represents scenarios as a type of control flows. In addition, we generate test cases from the activity diagram by applying a test coverage concept. Finally, we present a case study for test cases generation from a sequence diagram.
model based testing;model transformation;test case generation;sequence diagram;activity diagram;UML testing profile;
 Cited by
Utting, M. and Legeard, B., Practical model-based testing: a tools approach. Morgan Kaufmann, 2010.

Chae, H. S., "Model-based Test - Concepts and Issues," Communications of KIISE, Vol. 31, No. 4, pp. 59-71, Apr. 2014.

Mens, T. and Van Gorp, P., "A taxonomy of model transformation," Electronic Notes in Theoretical Computer Science, Vol. 152, pp. 125-142, Mar. 2006. crossref(new window)

OMG, UML Testing Profile (UTP) [Online], Available :

Garousi, V., Briand, L. C. and Labiche, Y., "Control flow analysis of UML 2.0 sequence diagrams," Model Driven Architecture-Foundations and Applications, Springer Berlin Heidelberg, 2005.

Sarma, M., Kundu, D. and Mall, R., "Automatic Test Case Generation from UML Sequence Diagrams," Proc. of the 15th International Conference on Advanced Computing and Communications, pp. 60-67, 2007.

Mingsong, C., Xiaokang, Q. and Xuandong, L., "Automatic test case generation for UML activity diagrams," Proc. of the 2006 international workshop on Automation of software test, pp. 2-8, 2006.

Kundu, D. and Samanta, D., "A Novel Approach to Generate Test Cases from UML Activity Diagrams," Journal of Object Technology, Vol. 8, No. 3, pp. 65-83, 2009.