Research Article Open Access

OPTIMIZATION OF TEST CASES BY PRIORITIZATION

T. Prem Jacob1 and T. Ravi2
  • 1 Sathyabama University, India
  • 2 , India

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.

Journal of Computer Science
Volume 9 No. 8, 2013, 972-980

DOI: https://doi.org/10.3844/jcssp.2013.972.980

Submitted On: 10 June 2013 Published On: 4 July 2013

How to Cite: Jacob, T. P. & Ravi, T. (2013). OPTIMIZATION OF TEST CASES BY PRIORITIZATION. Journal of Computer Science, 9(8), 972-980. https://doi.org/10.3844/jcssp.2013.972.980

  • 3,068 Views
  • 4,157 Downloads
  • 18 Citations

Download

Keywords

  • Regression Testing
  • Test Case
  • Genetic Algorithm
  • Test Suite