GA-based automatic test data generation for UML state diagrams with parallel paths

Automatic test data generation from a software specification prepares test cases for software developers before their code development phase. Having test cases before coding, helps the developers to control their code to conform to the specification. In state-based specifications, paths from the ini...

Full description

Saved in:
Bibliographic Details
Main Authors: C. Doungsa-Ard, K. Dahal, A. Hossain, T. Suwannasart
Format: Conference Proceeding
Published: 2018
Subjects:
Online Access:https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=77957340350&origin=inward
http://cmuir.cmu.ac.th/jspui/handle/6653943832/60304
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Chiang Mai University
id th-cmuir.6653943832-60304
record_format dspace
spelling th-cmuir.6653943832-603042018-09-10T03:42:38Z GA-based automatic test data generation for UML state diagrams with parallel paths C. Doungsa-Ard K. Dahal A. Hossain T. Suwannasart Computer Science Engineering Automatic test data generation from a software specification prepares test cases for software developers before their code development phase. Having test cases before coding, helps the developers to control their code to conform to the specification. In state-based specifications, paths from the initial state to the final state may be varied, this is called parallel paths. In order to generate test data which cover all behaviors in the specification, test data for each parallel path should be generated. This paper proposes an enhanced genetic algorithm(GA)-based approach to resolve the parallel paths from the UML state machine diagram. The proposed approach is improved from our previous study which uses a GA based test data generation method for only one path. The approach identifies parallel paths to cover all transitions. GA evolves a number of suitable test data sets - one test data set for each parallel path. The best test data for each parallel path are picked and used for calculating the overall coverage test data. The experimental results show improved coverage results with the enhanced approach for a number of case studies with parallel paths. 2018-09-10T03:40:47Z 2018-09-10T03:40:47Z 2008-01-01 Conference Proceeding 2-s2.0-77957340350 https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=77957340350&origin=inward http://cmuir.cmu.ac.th/jspui/handle/6653943832/60304
institution Chiang Mai University
building Chiang Mai University Library
country Thailand
collection CMU Intellectual Repository
topic Computer Science
Engineering
spellingShingle Computer Science
Engineering
C. Doungsa-Ard
K. Dahal
A. Hossain
T. Suwannasart
GA-based automatic test data generation for UML state diagrams with parallel paths
description Automatic test data generation from a software specification prepares test cases for software developers before their code development phase. Having test cases before coding, helps the developers to control their code to conform to the specification. In state-based specifications, paths from the initial state to the final state may be varied, this is called parallel paths. In order to generate test data which cover all behaviors in the specification, test data for each parallel path should be generated. This paper proposes an enhanced genetic algorithm(GA)-based approach to resolve the parallel paths from the UML state machine diagram. The proposed approach is improved from our previous study which uses a GA based test data generation method for only one path. The approach identifies parallel paths to cover all transitions. GA evolves a number of suitable test data sets - one test data set for each parallel path. The best test data for each parallel path are picked and used for calculating the overall coverage test data. The experimental results show improved coverage results with the enhanced approach for a number of case studies with parallel paths.
format Conference Proceeding
author C. Doungsa-Ard
K. Dahal
A. Hossain
T. Suwannasart
author_facet C. Doungsa-Ard
K. Dahal
A. Hossain
T. Suwannasart
author_sort C. Doungsa-Ard
title GA-based automatic test data generation for UML state diagrams with parallel paths
title_short GA-based automatic test data generation for UML state diagrams with parallel paths
title_full GA-based automatic test data generation for UML state diagrams with parallel paths
title_fullStr GA-based automatic test data generation for UML state diagrams with parallel paths
title_full_unstemmed GA-based automatic test data generation for UML state diagrams with parallel paths
title_sort ga-based automatic test data generation for uml state diagrams with parallel paths
publishDate 2018
url https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=77957340350&origin=inward
http://cmuir.cmu.ac.th/jspui/handle/6653943832/60304
_version_ 1681425411113746432