Journal of Computer Science

OPTIMIZATION OF TEST CASES BY PRIORITIZATION

T. Prem Jacob and T. Ravi

DOI : 10.3844/jcssp.2013.972.980

Journal of Computer Science

Volume 9, Issue 8

Pages 972-980

Abstract

Regression testing is testing the software in order to make sure that the modification made on the program lines does not affect the other parts of the software, it is in maintenance phase and accounts for 80% of the maintenance cost and thus optimizing regression testing is one of the prime motives of software testers. Here we take the advantage of selecting test case information available in regression testing and prioritize them based on the number of modified lines covered by the test case, the test case which covers the most number of modified lines has the highest priority and is executed first and the one with the least coverage of modified lines has the lowest priority and is executed last provided deadline time is not reached, thus even if the testing is not finished we will have covered maximum modified lines, the prioritization of the test cases are done using the genetic algorithm, the genetic algorithm takes test case information from regression testing as input and produces a sequence of test case to be executed such that the maximum number of modified code is covered.

Copyright

© 2013 T. Prem Jacob and T. Ravi. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.