Cover Page    Full-Text Download    
Subscribe Now
Recommend the Paper
A Genetic Algorithm based Approach for Test Data Generation in Basis Path Testing  

Suresh Yeresime1,Santanu Ku Rath2

*1 National Institute of Technology, Rourkela, India, Email :
2 National Institute of Technology, Rourkela,
India, Email :

Abstract .Software Testing is a process to identify the quality and reliability of software, which can be achieved through the help of proper test data. However, doing this manually is a difficult task due to the presence of number of predicate nodes in the module. So, this leads towards a problem of NP-complete. Therefore some intelligence-based search algorithms have to be used to generate test data. In this paper, we use a soft computing based approach, genetic algorithm to generate test data based on the set of basis paths. This paper combines the characteristics of genetic algorithm with test data, making use of the merits of respective global and local optimization capability to improve the generation capacity of test data. This automated process of generating test data optimally helps in reducing the test effort and time of a tester. Finally, the proposed approach is applied for ATM withdrawal task. Experimental results show that genetic algorithm was able to generate suitable test data based on a fitness value and avoid redundant data by optimization.
Keywords : genetic algorithm; basis path; test data; cyclomatic complexity; fitness function

Subscribe Now

Email :    
Subscribe to receive free TOC's JSCSE by email

Recommend To Friend

Email :     People