An approach for automatic generation of test cases from UML diagrams
The Unified Modeling Language (UML) is a standard notation used to model user's requirements for object oriented software systems. With the growing adoption of UML by software developers and researchers, studies have begun to investigate how it can be used to conduct testing. Several approaches...
Main Authors: | , |
---|---|
Format: | Article |
Published: |
Science and Engineering Research Support Society
2015
|
Subjects: |
_version_ | 1796860369401020416 |
---|---|
author | Oluwagbemi, Oluwatolani Asmuni, Hishammuddin |
author_facet | Oluwagbemi, Oluwatolani Asmuni, Hishammuddin |
author_sort | Oluwagbemi, Oluwatolani |
collection | ePrints |
description | The Unified Modeling Language (UML) is a standard notation used to model user's requirements for object oriented software systems. With the growing adoption of UML by software developers and researchers, studies have begun to investigate how it can be used to conduct testing. Several approaches of UML-based software testing have been proposed where test cases are derived from UML diagrams based on efficient algorithms. However, these approaches still suffer from three major limitations namely; inadequate test coverage criteria, insufficient diagrams coverages and incompatibility with various UML tools. Therefore, this paper proposes an improved approach for generating test cases from various UML diagrams based on full coverage criteria. To achieve this aim, a robust method for extracting artefacts from the underlying diagrams of the software under test (SUT) was developed, where the artefacts are represented in an intermediate form using a tree and test cases are generated by traversing the contents of the tree. The proposed approach is fully automated and the generated test cases satisfied the criteria defined for the generation process. The novelty of this approach is its systematic rather than ad hoc test case generation from UML diagrams to achieve high test coverage |
first_indexed | 2024-03-05T19:40:20Z |
format | Article |
id | utm.eprints-57739 |
institution | Universiti Teknologi Malaysia - ePrints |
last_indexed | 2024-03-05T19:40:20Z |
publishDate | 2015 |
publisher | Science and Engineering Research Support Society |
record_format | dspace |
spelling | utm.eprints-577392017-02-01T01:31:32Z http://eprints.utm.my/57739/ An approach for automatic generation of test cases from UML diagrams Oluwagbemi, Oluwatolani Asmuni, Hishammuddin QA76 Computer software The Unified Modeling Language (UML) is a standard notation used to model user's requirements for object oriented software systems. With the growing adoption of UML by software developers and researchers, studies have begun to investigate how it can be used to conduct testing. Several approaches of UML-based software testing have been proposed where test cases are derived from UML diagrams based on efficient algorithms. However, these approaches still suffer from three major limitations namely; inadequate test coverage criteria, insufficient diagrams coverages and incompatibility with various UML tools. Therefore, this paper proposes an improved approach for generating test cases from various UML diagrams based on full coverage criteria. To achieve this aim, a robust method for extracting artefacts from the underlying diagrams of the software under test (SUT) was developed, where the artefacts are represented in an intermediate form using a tree and test cases are generated by traversing the contents of the tree. The proposed approach is fully automated and the generated test cases satisfied the criteria defined for the generation process. The novelty of this approach is its systematic rather than ad hoc test case generation from UML diagrams to achieve high test coverage Science and Engineering Research Support Society 2015 Article PeerReviewed Oluwagbemi, Oluwatolani and Asmuni, Hishammuddin (2015) An approach for automatic generation of test cases from UML diagrams. International Journal of Software Engineering and its Applications, 9 (8). pp. 87-106. ISSN 1738-9984 http://dx.doi.org/10.14257/ijseia.2015.9.8.08 DOI:10.14257/ijseia.2015.9.8.08 |
spellingShingle | QA76 Computer software Oluwagbemi, Oluwatolani Asmuni, Hishammuddin An approach for automatic generation of test cases from UML diagrams |
title | An approach for automatic generation of test cases from UML diagrams |
title_full | An approach for automatic generation of test cases from UML diagrams |
title_fullStr | An approach for automatic generation of test cases from UML diagrams |
title_full_unstemmed | An approach for automatic generation of test cases from UML diagrams |
title_short | An approach for automatic generation of test cases from UML diagrams |
title_sort | approach for automatic generation of test cases from uml diagrams |
topic | QA76 Computer software |
work_keys_str_mv | AT oluwagbemioluwatolani anapproachforautomaticgenerationoftestcasesfromumldiagrams AT asmunihishammuddin anapproachforautomaticgenerationoftestcasesfromumldiagrams AT oluwagbemioluwatolani approachforautomaticgenerationoftestcasesfromumldiagrams AT asmunihishammuddin approachforautomaticgenerationoftestcasesfromumldiagrams |