Logo Goletty

Automatic Generation of Object-Oriented Tests with a Multistage-Based Genetic Algorithm
Journal Title Journal of Computers
Journal Abbreviation jcp
Publisher Group Academy Publisher
Website http://ojs.academypublisher.com
PDF (551 kb)
   
Title Automatic Generation of Object-Oriented Tests with a Multistage-Based Genetic Algorithm
Authors Ghiduk, Ahmed S.
Abstract The widespread use of the object-oriented programs (OOPs) makes the requirement for tests-generation strategies for testing the OOPs increases from day to day. In this paper, we present a multi-stage genetic algorithm (MSGA) to generate a suite of tests for testing the OOPs. MSGA includes two optimization stages. The first stage concentrates on finding test cases (sequences of called methods), which satisfy a given test criterion. The second stage focuses on generating test data (values of the arguments of the called methods). In addition, we introduce a new chromosome representation, which consists of two concatenated one-dimensional arrays. Each array contains set of homogeneous genes. In addition, we introduce set of strategies for encoding and decoding the tests. Furthermore, we present set of new genetic operators and the required pre- and post-conditions for applying these operators. In order to determine the applicability and practicability of MSGA, we introduce a new testing tool by implementing MSGA. Also, we conduct a case study by the new tool to assess the efficiency of MSGA in data-flow testing of OOPs.
Publisher ACADEMY PUBLISHER
Date 2010-10-01
Source Journal of Computers Vol 5, No 10 (2010): Special Issue: Selected Papers of The Second International Conference on Signa
Rights Copyright © ACADEMY PUBLISHER - All Rights Reserved.To request permission, please check out URL: http://www.academypublisher.com/copyrightpermission.html.

 

See other article in the same Issue


Goletty © 2024