Defect-Oriented Test Case Prioritization

In order to find more software defects during software testing within a short period of time, test case prioritization by ordering test cases is studied. This paper introduces four influence factors: defect detection number, defect detection rate, defect rank number and defect rank detection rate. In order to facilitate the tester to balance the four influence factors according to testing requirement, four weight factors are introduced. Meanwhile, we developed an on-line adjustment strategy to adjust the priorities of test cases. Experimental results show that compared with the traditional test case prioritization, the proposed method can find more defects within a short period of time and improve the testing efficiency.