Patent ID: 9703690
Date: 2017-07-11
CPC Classifications: G06F

Claim:
1. A computer-implemented method comprising: determining, by a processor, each code unit executed by a test case in a test suite including a plurality of test cases based upon, at least in part, running the test case on a product-under-test in a code coverage mode, wherein the product-under-test includes a plurality of code units; determining, by the processor, a number of times each of the plurality of code units is executed in the test suite; determining, by the processor, an execution time for the test case; and calculating, by the processor, an efficiency rating of the test case based upon, at least in part, an increment, for each code unit executed by the test case, of a reciprocal of the number of times each code unit is executed by the test suite and the execution time for the test case, wherein calculating the efficiency rating of the test case includes incrementing, for each code unit executed by the test case, a test case velocity by the reciprocal of the number of times each code unit of the plurality of code units is executed by the test suite, and dividing the test case velocity by the execution time for the test case.