9703690

Determining Test Case Efficiency

PublishedJuly 11, 2017
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
17 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

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.

2

2. The computer-implemented method of claim 1 , further including: generating a code unit distribution model based upon, at least in part, the number of times each of the plurality of code units is executed in the test suite.

3

3. The computer-implemented method of claim 1 , further including: generating an execution model of the test suite based upon, at least in part, the efficiency rating of the test case.

4

4. The computer-implemented method of claim 3 , further including: defining an order of execution of the plurality of test cases based upon, at least in part, the execution model.

5

5. The computer-implemented method of claim 3 , further including: executing a subset of the test suite based upon, at least in part, the execution model.

6

6. The computer-implemented method of claim 1 , further including: determining a sanity rating for each of the plurality of test cases based upon, at least in part, the number of code units executed by the test case and the execution time for the test case.

7

7. A computer program product comprising a non-transitory computer readable medium having a plurality of instructions stored thereon, which, when executed by a processor, cause the processor to perform operations including: determining 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 a number of times each of the plurality of code units is executed in the test suite; determining 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.

8

8. The computer program product of claim 7 , further including: generating a code unit distribution model based upon, at least in part, the number of times each of the plurality of code units is executed in the test suite.

9

9. The computer program product of claim 7 , further including: generating an execution model of the test suite based upon, at least in part, the efficiency rating of the test case.

10

10. The computer program product of claim 9 , further including: defining an order of execution of the plurality of test cases based upon, at least in part, the execution model.

11

11. The computer program product of claim 9 , further including: executing a subset of the test suite based upon, at least in part, the execution model.

12

12. The computer program product of claim 7 , further including: determining a sanity rating for each of the plurality of test cases based upon, at least in part, the number of code units executed by the test case and the execution time for the test case.

13

13. A system comprising: at least one processor device and at least one memory architecture coupled with the at least one processor device, the at least one processor device configured for: determining 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 a number of times each of the plurality of code units is executed in the test suite; determining 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.

14

14. The system of claim 13 , further including: generating a code unit distribution model based upon, at least in part, the number of times each of the plurality of code units is executed in the test suite.

15

15. The system of claim 13 , further including: generating an execution model of the test suite based upon, at least in part, the efficiency rating of the test case.

16

16. The system of claim 15 , further including: defining an order of execution of the plurality of test cases based upon, at least in part, the execution model.

17

17. The system of claim 15 , further including: executing a subset of the test suite based upon, at least in part, the execution model.

Patent Metadata

Filing Date

Unknown

Publication Date

July 11, 2017

Inventors

Michael S. Fulton
John R. MacMillan

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “DETERMINING TEST CASE EFFICIENCY” (9703690). https://patentable.app/patents/9703690

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.