Indian Journal of Science and Technology
DOI: 10.17485/ijst/2015/v8i30/86661
Year: 2015, Volume: 8, Issue: 30, Pages: 1-9
Original Article
Samaila Musa1*, Abu-Bakar Md Sultan2 , Abdul-Azim Bin Abd-Ghani3 and Salmi Baharom4
Faculty of Computer Science and Information Technology, Universiti Putra Malaysia, Serdang, Selangor-43400, Malaysia; [email protected]
One of the most important activities in software maintenance is Regression Testing. The re-execution of all test cases during the regression testing is costly. And even though several of the code based proposed techniques by researchers address procedural programs. Some researchers addressed the issue of test case prioritization using Genetic Algorithm, but most of the authors do not select modification-revealing before prioritization, and used the same fault severity even when a fault was executed by the preceding test case. This paper propose a regression test case selection for object-oriented software based on dependence graph model analysis of the source code and optimizes the selected test case using Genetic Algorithm. The goal is to select modification-revealing test cases and order them based on their fitness value computed using previous history of the fault severity. The effectiveness of the approach was evaluated using Average Percentage of Rate of Fault Detection (APFD) metric with vending machine program. Our Proposed Approach (PA) provides considerably better results in term of average percentage of rate of fault detection. Based on the measured performance obtained from the results, GA with reduced severity of fault prioritize selected test cases more effectively compared to using GA with the same severity of fault and non-prioritize, which may result in reducing the cost of Regression Testing.
Keywords: Genetic Algorithm, Regression Testing, Test Case Prioritization, Test Case Selection
Subscribe now for latest articles and news.