skip to main content
10.1145/3318236.3318256acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicgdaConference Proceedingsconference-collections
research-article

A Memorization Approach for Test Case Generation in Concurrent UML Activity Diagram

Authors Info & Claims
Published:15 March 2019Publication History

ABSTRACT

Test case generation is the most important part of software testing. Currently, researchers have used the UML activity diagram for test case generation. Testing concurrent system is difficult task due to the concurrent interaction among the threads and the system results in test case explosion. In this paper, we proposed a novel approach to generate test cases for concurrent systems using a dynamic programming technique with tester specification to avoid the path explosion. The tester can configure the concurrency specifications that follow the business flow constraints. In order to evaluate the quality of test cases, activity coverage and causal ordering coverage were measured. By experimental results, the proposed approach is superior as compared to DFS and BFS algorithms. Finally, the proposed approach helps to avoid generating all possible concurrent activity paths which are able to minimize test cases explosion.

References

  1. M. Rajib, Fundamentals of Software Engineering, 2nd ed., India: Prentice Hall Co., 2009.Google ScholarGoogle Scholar
  2. K. Debasish, and S. Debasis, "A Novel approach to generate test cases from UML activity diagram. Journal of Object," Technology, 2009, pp. 65--83.Google ScholarGoogle Scholar
  3. G. Jerry, T. H.-S, W. Ye, Testing and Quality Assurance for Component-Based Software. USA Publication: Artech House, Inc. Norwood, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. S.Monalisa, and M. Rajib, "Automatic test case generation from uml models," In: IEEE 10th International conference on Information Technology, 2007, pp. 196--201. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. B. Grady, R. James, and J. Ivar, Unified Modeling Language User Guide, first ed., Addison Wesley, 1998.Google ScholarGoogle Scholar
  6. L.Wang, J.Yuan, X.Yu, J.Hu, X.Li, G.Zheng, "Generating Test Cases from UML Activity Diagram based on Gray-Box Method," In: Proceedings of the 11th Asia-Pacific Software Engineering Conference, 2004, pp. 284--291. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. K. Monalisha, A. Arup, and M.Durga, "A Survey on Test Case Generation from UML Model," International Journal of Computer Science and Information Technologies, vol 2, 2011, pp. 1164--1171.Google ScholarGoogle Scholar
  8. M. Chen, X. Qiu, and X. Li, "Automatic Test Case Generation for UML Activity Diagrams," In: ACM Proceedings of the 2006 international workshop on Automation of software test, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. C. Mingsong, Q. Xiaokang, X. Wei, W. Linzhang, Z. Jianhua, and L. Xuandong, "UML Activity Diagram-Based Automatic Test Case Generation For Java Programs," The Computer Journal, vol 52, issue 5, 1 Aug 2009, pp 545--556. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. T. Walaithip, K Suwatchai, and P. Luepol, "Generating Test Cases from UML Activity Diagram based on Business Flow Constraints," In: ACM the Fifth International Conference on Network, Communication and Computing, 2016, pp. 155--160. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. C. Mingsong, M. Prabhat, and K. Dhrubajyoti, "Coverage-driven Automatic Test Generation for UML Activity Diagram," In The Association for Computing Machinery ACM Great Lakes Symposium on VLSI, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. K. Hyungchoul, K. Sungwon, B. Jongmoon, and K. Inyoung, "Test Cases Generation from UML Activity Diagrams," In The Eighth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Paralle/Distributed Computing. SNPD, 2007, pp. 556--561. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. S.Philip, M. Rajib, and K. Pratyush, "Automatic test case generation from UML communication diagrams," Information and Software Technology, 2007, pp. 158--171. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. B. Adnan, S. A, and R. Sita, "Testing Concurrency and Communication in Distributed Objects," In Proceedings. Fifth International Conference on High Performance Computing (Cat. No. 98EX238), 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. K. Monalisha, A. Arup, and M. Durga, "A Novel Approach of Test Case Generation for Concurrent Systems Using UML Sequence Diagram," In 2011 3rd International Conference on Electronics Computer Technology. 8-10 April 2011, pp. 157--161Google ScholarGoogle Scholar
  16. S.Mahesh, and K. Rajeev, "Testing for concurrency in UML Diagrams," In ACM SIGSOFT Software Engineering Notes, vol 37, September 2012, pp. 1--8. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Dalai S, Acharya A A, Mohapatra D P, "Test Case Generation For Concurrent Object-Oriented Systems Using Combinational Uml Models," International Journal of Advanced Computer Science and Information Technologies, vol 3, 2011, pp. 97--102.Google ScholarGoogle Scholar
  18. Bellman, R. E. and Dreyfus, S. E., Applied Dynamic Programming, Princeton Legacy Library Paperback, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A Memorization Approach for Test Case Generation in Concurrent UML Activity Diagram

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      ICGDA '19: Proceedings of the 2019 2nd International Conference on Geoinformatics and Data Analysis
      March 2019
      156 pages
      ISBN:9781450362450
      DOI:10.1145/3318236

      Copyright © 2019 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 15 March 2019

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader