Previous column

Next article

A Novel Approach to Generate Test Cases from UML Activity Diagrams

Debasish Kundu and Debasis Samanta


PDF Icon
PDF Version


Model-based test case generation is getting acceptance to the software practitioners. Its advantage is the early detection of faults, reducing software development time. For this purpose, researchers have considered di®erent UML diagrams for generating
test cases. Few work on the test case generation using activity diagram is reported in the literature. But, limitation of the existing works is that they consider activity diagram in method scope and use UML 1.x syntax for modeling. In this paper, we present a novel approach of generating test cases from activity diagram using UML 2.0 syntax and with use case scope. In our work, we consider a test coverage criteria, called activity path coverage criteria. The test cases generated using our approach are capable of detecting more faults like synchronization faults, loop faults than the existing approaches.

Note: Due to the typographical sophistication of this article, no HTML version is available. Please use the PDF version.


About the authors

Debasish Kundu completed his B. Tech. in Computer Science and Technology from Kalyani Govt. Engineering College, Kalyani University, India in 2003. He received MS (by research) from School of Information Technology, Indian Institute of Technology
Kharagpur in 2007. Currently, he is pursuing Ph.D. in the same department and institute. He is IEEE member. His major research interests are: Software Engineering, Software Testing using UML, Distributed Systems. He can be reached at See also

Debasis Samanta received his B. Tech. degree in Computer Science and Engineering from the Calcutta University, in 1993, and his M. Tech. in Computer Science and Engineering from the Jadavpur University, in 1995 and Ph.D. degrees in Computer Science and Engineering from Indian Institute of Technology, Kharagpur in 2002. He is currently an Assistant Professor in the School of Information Technology at the Indian Institute of Technology, Kharagpur. He has previously worked at North Eastern Regional Institute of Science and Technology (NERIST), Itanagar (1995-2004). His research interests are: Low Power VLSI Systems Design, Human Computer Interaction, and Information System Design. He is the author of the books Object-Oriented Programming with C++ and Java, Prentice Hall of India, 2000 and Classic Data Structures, Prentice Hall of India, 2002. He received the Best Author of the Year Award, from Computer Society of India in 1999. He has served on the program committee of CIT 2005, and IEEE INDICON 2006, and ICETAETS 2008. He is a member of Board of Faculties of North East Hill University (NEHU), Shillong, and Secretary of IEEE Kharagpur Section. He can be reached at See also

Debasish Kundu, Debasis Samanta: "A Novel Approach to Generating Test Cases from UML Activity Diagrams", in Journal of Object Technology, vol. 8, no. 3, May-June 2009, pp. 65-83

Previous column

Next article