International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 126 - Number 11 |
Year of Publication: 2015 |
Authors: Shveta Parnami, K.S. Sharma, Swati V. Chande |
10.5120/ijca2015906219 |
Shveta Parnami, K.S. Sharma, Swati V. Chande . Empirical Validation of Test Case Generation based on All-edge Coverage Criteria. International Journal of Computer Applications. 126, 11 ( September 2015), 22-28. DOI=10.5120/ijca2015906219
Software testing assesses the functionality and correctness of the software through analysis and execution. It is done by exercising appropriate number of test cases so that no part of the program is left untested. Presence of multiple loops in a program makes it unlikely or impossible to test all paths. Therefore researchers try to find the subsets of the test cases, which when tested give confidence of complete testing. However, the subsets of paths are based on some testing criteria. In this research paper GA approach has been used to find out the subset of paths of the test program that fulfills all edge coverage criteria. The Genetic Algorithm for Test Case Generation (GATCG) proposed in this work generates reduced number of paths for a test program. These paths are termed as prime paths. The proposed GATCG technique makes use of the concept of prime paths to reduce the cost of testing. The efficiency of proposed algorithm is established from the results, in terms of number of iterations and time consumed in generating the prime paths for test programs.