Title :
Using Genetic Algorithm for Unit Testing of Object Oriented Software
Author :
Gupta, Neeraj K. ; Rohil, M.K.
Author_Institution :
Birla Inst. of Technol. & Sci., Pilani
Abstract :
Genetic algorithms have been successfully applied in the area of software testing. The demand for automation of test case generation in object oriented software testing is increasing. Genetic algorithms are well applied in procedural software testing but a little has been done in testing of object oriented software. In this paper, we propose a method to generate test cases for classes in object oriented software using a genetic programming approach. This method uses tree representation of statements in test cases. Strategies for encoding the test cases and using the objective function to evolve them as suitable test case are proposed.
Keywords :
genetic algorithms; object-oriented methods; program testing; genetic algorithm; genetic programming approach; object oriented software unit testing; test case generation; Automatic testing; Automation; Cost function; Encoding; Evolutionary computation; Genetic algorithms; Genetic engineering; Genetic programming; Performance evaluation; Software testing; Genetic Algorithms; Object Oriented Software; Test case Generation; Testing;
Conference_Titel :
Emerging Trends in Engineering and Technology, 2008. ICETET '08. First International Conference on
Conference_Location :
Nagpur, Maharashtra
Print_ISBN :
978-0-7695-3267-7
Electronic_ISBN :
978-0-7695-3267-7
DOI :
10.1109/ICETET.2008.137