Generation of Testcases from UML Sequence Diagram and Detecting Deadlocks using Loop Detection Algorithm

Authors

  • Amitashree Mallick School of Computer Engineering, KIIT University, India
  • Namita Panda School of Computer Engineering, KIIT University, India
  • Arup Abhinna Acharya School of Computer Engineering, KIIT University, India

Keywords:

Software testing, Test cases, Sequence diagram, Concurrency, Deadlock

Abstract

In an environment where processes those execute concurrently, speeding up their computation is important. Deadlock is a major issue that occurs during concurrent execution. In this paper, we present an approach to generate testcases from UML sequence diagram for detecting deadlocks during the design phase. This will reduce the effort and cost involved to fix deadlocks at a later stage. Our work begins with design of sequence diagram for the system, then converting it to intermediate graph where deadlock points are marked and then traverse to get testcases. The testcases thus generated are suitable for detecting deadlocks.

References

R.V Binder, "Testing Object-Oriented Systems Models, Patterns, and Tools, Object Technology Series". Addision Wesley, Reading, Massachusetts, October 1999

P. Nagarani I, R. Venkata Ramana Chary, "A Tool Based Approach For Automation Of GUI Applications",ICCCNT’12 26th-28th July 2012, Coimbatore, India

N. S. Dsouza, A. Pasala, A. Rickett and O. Estrada,"A code based approach to generate functional test scenarios for testing of re-hosted application", Short Papers of the 22nd IFIP ICTSS, Alexandre Petrenko, Adenilso Simao, Jose Carlos Maldonado (eds.), Nov. 08-10, 2010, Natal, Brazil

Santosh Kumar Swain, Durga Prasad Mohapatra, and Rajib Mall, "Test Case Generation Based on Use case and Sequence Diagram", Journal of Object Technology, vol. 8,No. 3,May-June 2009,PP. 65-83

Monalisa Sarma, Debasish Kundu, Rajib Mall, "Automatic Test Case Generation from UML Sequence Diagrams".15th International Conference on Advanced Computing and Combinations,2007 IEEE

Philip Samuel, Anju Teresa Joseph, "Test Sequence Generation from UML Sequence Diagrams",2008 IEEE

Emanuela G.Cartaxo, Francisco G.O.Neto and Patriticia D.L.Machado,Test Case Generation by means of UML Sequence Diagrams and Labelled Transition Systems, 2007 IEEE

Monalisha Khandai,Arup Abhinna Acharya,Durga Prasad Mohapatra, A Novel Approach of Test Case Generation for Concurrent Systems Using UML Sequence Diagram978-1-4244-8679-3,2011 IEEE

Debashree Patnaik,Arup Abhinna Acharya, Durga Prasad Mohapatra, Generation Of Test Cases Using UML Sequence Diagram In A System With Communication Deadlock, Journal of Computer Science and Information Technologies, Vol. 2 (3) , 2011, 1187-1190

Guo Wenming, Fu Xiangling, Feng Jianmei, "A Data-driven Software Testing Tools Integration System", School of Software Engineering, Beijing University of Post and Telecommunication,Beijing,P.R.China,2009

Srinivasan Desican, Gopalaswamy Ramesh, Software Testing principles and practices,3rd Edition, Pearson Publication

Rajib Mall ,Software Testing principles and practices,3rd Edition, Pearson Publication

Srinivasan Desican, Gopalaswamy Ramesh, Fundamentals of Software Engineering,3rd Edition, PHI Learning Private Limited

Tarjan, R. E. ,Depth-first search and linear graph algorithms, SIAM Journal on Computing 1 (2): 146160,1972 doi:10.1137/0201010

Downloads

Published

2014-03-31

How to Cite

[1]
A. Mallick, N. Panda, and A. A. Acharya, “Generation of Testcases from UML Sequence Diagram and Detecting Deadlocks using Loop Detection Algorithm”, Int. J. Comp. Sci. Eng., vol. 2, no. 3, pp. 199–203, Mar. 2014.

Issue

Section

Research Article