Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Published: 15 March 2019 Publication 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.
[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.
[3]
G. Jerry, T. H.-S, W. Ye, Testing and Quality Assurance for Component-Based Software. USA Publication: Artech House, Inc. Norwood, 2003.
[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.
[5]
B. Grady, R. James, and J. Ivar, Unified Modeling Language User Guide, first ed., Addison Wesley, 1998.
[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.
[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.
[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.
[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.
[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.
[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.
[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.
[13]
S.Philip, M. Rajib, and K. Pratyush, "Automatic test case generation from UML communication diagrams," Information and Software Technology, 2007, pp. 158--171.
[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.
[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--161
[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.
[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.
[18]
Bellman, R. E. and Dreyfus, S. E., Applied Dynamic Programming, Princeton Legacy Library Paperback, 2015.

Cited By

View all
  • (2023)DFS-KeyLevel: A Two-Layer Test Scenario Generation Approach for UML Activity DiagramJournal of Electronic Testing: Theory and Applications10.1007/s10836-023-06045-y39:1(71-88)Online publication date: 3-Feb-2023
  • (2023)Test Scenarios Generation and Optimization of Object-Oriented Models Using Meta-Heuristic AlgorithmsIntelligent Technologies: Concepts, Applications, and Future Directions, Volume 210.1007/978-981-99-1482-1_3(45-74)Online publication date: 2-Jun-2023
  • (2021)Generation of Test Cases from UML Diagrams - A Systematic Literature ReviewProceedings of the 14th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)10.1145/3452383.3452408(1-10)Online publication date: 25-Feb-2021
  • Show More Cited By

Index Terms

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

    Recommendations

    Comments

    Information & Contributors

    Information

    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
    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]

    In-Cooperation

    • Department of Informatics, University of Oslo

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 15 March 2019

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Concurrency in UML
    2. Dynamic Programming
    3. Software Testing
    4. Test Cases Generation
    5. UML Activity Diagram

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    ICGDA 2019

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)25
    • Downloads (Last 6 weeks)4
    Reflects downloads up to 01 Sep 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)DFS-KeyLevel: A Two-Layer Test Scenario Generation Approach for UML Activity DiagramJournal of Electronic Testing: Theory and Applications10.1007/s10836-023-06045-y39:1(71-88)Online publication date: 3-Feb-2023
    • (2023)Test Scenarios Generation and Optimization of Object-Oriented Models Using Meta-Heuristic AlgorithmsIntelligent Technologies: Concepts, Applications, and Future Directions, Volume 210.1007/978-981-99-1482-1_3(45-74)Online publication date: 2-Jun-2023
    • (2021)Generation of Test Cases from UML Diagrams - A Systematic Literature ReviewProceedings of the 14th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference)10.1145/3452383.3452408(1-10)Online publication date: 25-Feb-2021
    • (2021)Concurrent behavioral coverage criteria for sequence diagramsInnovations in Systems and Software Engineering10.1007/s11334-021-00413-719:2(157-176)Online publication date: 25-Nov-2021
    • (2021)Constrained permutation-based test scenario generation from concurrent activity diagramsInnovations in Systems and Software Engineering10.1007/s11334-021-00389-417:4(343-353)Online publication date: 1-Dec-2021

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media