|
A Neural Network Approach for Randomized Unit Testing Based On Genetic AlgorithmKeywords: Unit testing , Genetic algorithm , Neural network , FSS. Abstract: The goal of unit testing is to isolate each part of the program and show that the individual parts are correct. A unit test provides a strict, written contract that the piece of code must satisfy. As a result, it affords several benefits. Unit tests find problems early in the development cycle. In continuous unit testing environments, through the inherent practice of sustained maintenance, unit tests will continue to accurately reflect the intended use of the executable code in the face of any change. Depending upon established development practices and unit test coverage, up-to-the-second accuracy can be maintained. In this paper, a genetic algorithm to evolve a set of inputs. So the system called Nighthawk, which uses a genetic algorithm (GA) to find parameters for randomized unit testing that optimize test coverage. Therefore using a feature subset selection (FSS) tool to assess the size and content of the representations within the GA. The enhancement in this work is to introduce Neural network based unit testing , include some training sets for possible output and then apply the Genetic Algorithm. Therefore these results shows a better efficiency in the unit testing and reduce the test coverage.
|