A test case generation framework based on UML statechart diagram

Early software fault detection offers more flexibility to correct errors in the early development stages. Unfortunately, existing studies in this domain are not sufficiently comprehensive in describing the major processes of the automated test case generation. Furthermore, the algorithms used for t...

Full description

Saved in:
Bibliographic Details
Main Author: Salman, Yasir Dawood
Format: Thesis
Language:English
English
English
Published: 2018
Subjects:
Online Access:https://etd.uum.edu.my/6930/1/DepositPermission_s94756.pdf
https://etd.uum.edu.my/6930/2/s94756_01.pdf
https://etd.uum.edu.my/6930/3/s94756_02.pdf
https://etd.uum.edu.my/6930/
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.uum.etd.6930
record_format eprints
spelling my.uum.etd.69302021-08-11T07:09:06Z https://etd.uum.edu.my/6930/ A test case generation framework based on UML statechart diagram Salman, Yasir Dawood T58.5-58.64 Information technology QA76 Computer software Early software fault detection offers more flexibility to correct errors in the early development stages. Unfortunately, existing studies in this domain are not sufficiently comprehensive in describing the major processes of the automated test case generation. Furthermore, the algorithms used for test case generation are not provided or well described. Current studies also hardly address loops and parallel paths issues, and achieved low coverage criteria. Therefore, this study proposes a test case generation framework that generates minimized and prioritized test cases from UML statechart diagram with higher coverage criteria. This study, conducted a review of the previous research to identify the issues and gaps related to test case generation, model-based testing, and coverage criteria. The proposed framework was designed from the gathered information based on the reviews and consists of eight components that represent a comprehensive test case generation processes. They are relation table, relation graph, consistency checking, test path minimization, test path prioritization, path pruning, test path generation, and test case generation. In addition, a prototype to implement the framework was developed. The evaluation of the framework was conducted in three phases: prototyping, comparison with previous studies, and expert review. The results reveal that the most suitable coverage criteria for UML statechart diagram are all-states coverage, all-transitions coverage, alltransition-pairs coverage, and all-loop-free-paths coverage. Furthermore, this study achieves higher coverage criteria in all coverage criteria, except for all-state coverage, when compared with the previous studies. The results of the experts’ review show that the framework is practical, easy to implement due to it is suitability to generate the test cases. The proposed algorithms provide correct results, and the prototype is able to generate test case effectively. Generally, the proposed system is well accepted by experts owing to its usefulness, usability, and accuracy. This study contributes to both theory and practice by providing an early alternative test case generation framework that achieves high coverage and can effectively generate test cases from UML statechart diagrams. This research adds new knowledge to the software testing field, especially for testing processes in the model-based techniques, testing activity, and testing tool support. 2018 Thesis NonPeerReviewed text en https://etd.uum.edu.my/6930/1/DepositPermission_s94756.pdf text en https://etd.uum.edu.my/6930/2/s94756_01.pdf text en https://etd.uum.edu.my/6930/3/s94756_02.pdf Salman, Yasir Dawood (2018) A test case generation framework based on UML statechart diagram. PhD. thesis, Universiti Utara Malaysia.
institution Universiti Utara Malaysia
building UUM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Utara Malaysia
content_source UUM Electronic Theses
url_provider http://etd.uum.edu.my/
language English
English
English
topic T58.5-58.64 Information technology
QA76 Computer software
spellingShingle T58.5-58.64 Information technology
QA76 Computer software
Salman, Yasir Dawood
A test case generation framework based on UML statechart diagram
description Early software fault detection offers more flexibility to correct errors in the early development stages. Unfortunately, existing studies in this domain are not sufficiently comprehensive in describing the major processes of the automated test case generation. Furthermore, the algorithms used for test case generation are not provided or well described. Current studies also hardly address loops and parallel paths issues, and achieved low coverage criteria. Therefore, this study proposes a test case generation framework that generates minimized and prioritized test cases from UML statechart diagram with higher coverage criteria. This study, conducted a review of the previous research to identify the issues and gaps related to test case generation, model-based testing, and coverage criteria. The proposed framework was designed from the gathered information based on the reviews and consists of eight components that represent a comprehensive test case generation processes. They are relation table, relation graph, consistency checking, test path minimization, test path prioritization, path pruning, test path generation, and test case generation. In addition, a prototype to implement the framework was developed. The evaluation of the framework was conducted in three phases: prototyping, comparison with previous studies, and expert review. The results reveal that the most suitable coverage criteria for UML statechart diagram are all-states coverage, all-transitions coverage, alltransition-pairs coverage, and all-loop-free-paths coverage. Furthermore, this study achieves higher coverage criteria in all coverage criteria, except for all-state coverage, when compared with the previous studies. The results of the experts’ review show that the framework is practical, easy to implement due to it is suitability to generate the test cases. The proposed algorithms provide correct results, and the prototype is able to generate test case effectively. Generally, the proposed system is well accepted by experts owing to its usefulness, usability, and accuracy. This study contributes to both theory and practice by providing an early alternative test case generation framework that achieves high coverage and can effectively generate test cases from UML statechart diagrams. This research adds new knowledge to the software testing field, especially for testing processes in the model-based techniques, testing activity, and testing tool support.
format Thesis
author Salman, Yasir Dawood
author_facet Salman, Yasir Dawood
author_sort Salman, Yasir Dawood
title A test case generation framework based on UML statechart diagram
title_short A test case generation framework based on UML statechart diagram
title_full A test case generation framework based on UML statechart diagram
title_fullStr A test case generation framework based on UML statechart diagram
title_full_unstemmed A test case generation framework based on UML statechart diagram
title_sort test case generation framework based on uml statechart diagram
publishDate 2018
url https://etd.uum.edu.my/6930/1/DepositPermission_s94756.pdf
https://etd.uum.edu.my/6930/2/s94756_01.pdf
https://etd.uum.edu.my/6930/3/s94756_02.pdf
https://etd.uum.edu.my/6930/
_version_ 1709670561596047360
score 13.214268