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

Full description

Saved in:
Bibliographic Details
Main Authors: Oluwagbemi, Oluwatolani, Asmuni, Hishammuddin
Format: Article
Published: Science and Engineering Research Support Society 2015
Subjects:
Online Access:http://eprints.utm.my/id/eprint/57739/
http://dx.doi.org/10.14257/ijseia.2015.9.8.08
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.utm.57739
record_format eprints
spelling my.utm.577392017-02-01T01:31:32Z http://eprints.utm.my/id/eprint/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
institution Universiti Teknologi Malaysia
building UTM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Malaysia
content_source UTM Institutional Repository
url_provider http://eprints.utm.my/
topic QA76 Computer software
spellingShingle QA76 Computer software
Oluwagbemi, Oluwatolani
Asmuni, Hishammuddin
An approach for automatic generation of test cases from UML diagrams
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
format Article
author Oluwagbemi, Oluwatolani
Asmuni, Hishammuddin
author_facet Oluwagbemi, Oluwatolani
Asmuni, Hishammuddin
author_sort Oluwagbemi, Oluwatolani
title 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_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_sort approach for automatic generation of test cases from uml diagrams
publisher Science and Engineering Research Support Society
publishDate 2015
url http://eprints.utm.my/id/eprint/57739/
http://dx.doi.org/10.14257/ijseia.2015.9.8.08
_version_ 1643654066841059328
score 13.214268