Past Issues

Studies in Informatics and Control
Vol. 22, No. 2, 2013

A Genetic Algorithm-based System for Automatic Control of Test Data Generation

Paul POCATILU, Ion IVAN
Abstract

Software testing is an important process that helps to develop high quality software. This process is more time consuming when applied to control systems. This involves the use of several testing strategies, techniques and methodologies. At the module level one of test technique is to assure as much as possible code coverage. This is accomplished using several methods, one of them being automatic test data generation. Test data generation can be done manually, randomly or using combinatorial optimizing techniques. Another technique involves the use of genetic algorithm (GA). The paper presents a system that involves an automatic control of test data generation. It also provides implementation details of a test data generator (TDG) based on GA that uses a specific fitness function called Inverse Similarity of Coverage (ISC). The test data generator is a module of the proposed system. The results show that the proposed solution, GA-TDG, has far better results in many relevant situations than random test generators regarding the number of software under test (SUT) runs.

Keywords

software testing process, control system, genetic algorithm, test data generation, fitness function, code coverage, random data generation, control decision.

View full article