Title :
Automatic program instrumentation in generation of test data using genetic algorithm for multiple paths coverage
Author :
Maragathavalli, P. ; Kanmani, S. ; Kirubakar, J. Sam ; Sriraghavendrar, P. ; Prasad, A. Sai
Author_Institution :
Dept. of Inf. Technol., Pondicherry Eng. Coll., Puducherry, India
Abstract :
Software testing is an important step during software development. By doing automation of software testing we can increase the robustness of software and decrease the cost of development. The automation of test data generation is done using genetic algorithm. GA analyses the fitness based on the path coverage. This paper presents a novel method for test data generation with multiple paths coverage for instrumented programs. The dynamic instrumentation method is used for analyzing the source code which has been incorporated in java using AspectJ. This reduces the effort of man power required for debugging programs through inserting probes. The experimental results show that the Path Reuse Method (PRM) given in this paper reduces the execution time and no of generations. The PRM automates the test input generation for testing aspectual behavior of object-oriented programs.
Keywords :
Java; aspect-oriented programming; genetic algorithms; instrumentation; program debugging; program testing; AspectJ; GA; Java; PRM; automatic program instrumentation; dynamic instrumentation method; genetic algorithm; multiple path coverage; object-oriented program aspectual behavior testing; path reuse method; probe insertion; program debugging; software development; software testing; source code; test data generation; Algorithm design and analysis; Instruments; Testing; PRM; debugging; genetic algorithm; multiple paths coverage; program instrumentation; software testing; test data generation;
Conference_Titel :
Advances in Engineering, Science and Management (ICAESM), 2012 International Conference on
Conference_Location :
Nagapattinam, Tamil Nadu
Print_ISBN :
978-1-4673-0213-5