Open Access Open Access  Restricted Access Subscription or Fee Access

Evolutionary Algorithm for Knowledge based Unit Testing

A. Pravin, Dr.S. Srinivasan

Abstract


The unit testing has the goal to isolate every program
part and reveal that every parts of individual are correct. It afford with the strict contract the every part of the code should satisfy it. Finally, it offers lot of benefits. It finds problems in development cycle in earlier. An environment of unit testing, with the help of the sustained maintenance unit test reveals the executable codes and also reflect the
codes when any changes was made. Based on the established coverage of the unit test and accuracy of the development practices were protected. Here we utilize the (i.e genetic) evolutionary algorithm for the purpose of developing the input sets. We represent the system of Nighthawk which utilizes the concepts of Genetic algorithm (GA) in order to get the parameters. The parameters are used to optimize the
coverage of the test in the randomized unit test. Designing the Genetic Algorithm is the black art. Hence we employ the tool of feature subset selection (FSS) for assessing the size, representation content in the Genetic algorithm. Using this tool we have to minimize the representation size and the largely achieve the coverage. In summary,
our GA attains the similar result of the complete system in advance with the 10% time. This Result proposes such that the feature subset tool extensively optimizes the Meta heuristic search depends upon the tools of software engineering.


Keywords


Evolutionary Algorithm, Feature Subset Selection (FSS), Meta Heuristic, Nighthawk, Software Engineering.

Full Text:

PDF

References


Andrews J and Menzies T and Li F, “Nighthawk A Two Level Genetic

Random Unit Test Data Generator,” Proceeding twenty second

IEEE/ACM International Conference Automated Software Eng- 2007

http://menzies.us/pdf/07asenighthawk.

Csallner C & Smaragdakis Y, “JCrasher An Automatic Robustness Tester

for Java,” Software Practice & Experience-2004

Ernst M D and Ball T and Pacheco C and Lahiri S K, “Feedback Directed

Random Test Generation,” Proc. 29th International Conference Software

Engineering-2007

Fredriksen L and Miller B P and So B, “An Empirical Study of the

Reliability of UNIX Utilities”-1990

Hamlet R, “Random Testing,” Encyclopedia of Software Eng-1994

James H Andrews & Felix C H Li and Tim Menzies “Genetic Algorithms

for Randomized Unit Testing”

Li C H F and Andrews J H & Haldar S & Lei Y , “Tool Support For

Randomized Unit Testing” Proceeding in the First International

Workshop Randomized Testing-2006

McGraw G & Michael C C and Schatz M A, “Generating Software Test

Data by Evolution,” IEEE Trans, -2001

Peck R R and Harrold M J and Pargas R P, “Test Data Generation Using

Genetic Algorithms,” J. Software Testing and Verification and

Reliability-1999

Pela´nek R and Visser W and as areanu C S P, “Test Input Generation for

Java Containers Using State Matching,” Proceeding in the International

Symposium Software Testing and Analysis-2006

Weyuker E J, “On Testing Non Testable Programs” -1982


Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.