Optimizing Execution Order of System Interval Dependent Test Cases
AssigneeInternational Business Machines Corporation
InventorsJoseph W. Gentile, Brian D. Keuling, Anthony T. Sofia
Life of this patent
Estimating the term…
Abstract
Systems, methods, and computer-readable media for optimizing the execution order of a set of test programs that includes at least one system interval dependent test program are disclosed. The optimized execution order may be determined by identifying each non-system interval dependent test program that can be executed during each instance of a system interval without impacting execution of system interval dependent test programs. The optimized execution order minimizes a total execution time of the set of test programs.
Claims20
A method for optimizing execution of a set of test cases, the method comprising:
- identifying the set of test cases, the set of test cases comprising at least one system interval dependent test case;
- determining a duration of a system interval;
- determining a respective execution time associated with each test case in the set of test cases;
- and
- determining, based at least in part on the duration of the system interval and the respective execution time associated with each test case, an execution order for the set of test cases, wherein the execution order specifies an order in which the set of test cases are to be executed in order to minimize a total execution time for the set of test cases.
A system for optimizing execution of a set of test cases, the system comprising:
- at least one memory storing computer-executable instructions;
- and
- at least one processor configured to access the at least one memory and execute the computer-executable instructions to:
- identify the set of test cases, the set of test cases comprising at least one system interval dependent test case;
- determine a duration of a system interval;
- determine a respective execution time associated with each test case in the set of test cases;
- and
- determine, based at least in part on the duration of the system interval and the respective execution time associated with each test case, an execution order for the set of test cases, wherein the execution order specifies an order in which the set of test cases are to be executed in order to minimize a total execution time for the set of test cases.
A computer program product for optimizing execution of a set of test cases, the computer program product comprising a non-transitory storage medium readable by a processing circuit, the storage medium storing instructions executable by the processing circuit to cause a method to be performed, the method comprising:
- identifying the set of test cases, the set of test cases comprising at least one system interval dependent test case;
- determining a duration of a system interval;
- determining a respective execution time associated with each test case in the set of test cases;
- and
- determining, based at least in part on the duration of the system interval and the respective execution time associated with each test case, an execution order for the set of test cases, wherein the execution order specifies an order in which the set of test cases are to be executed in order to minimize a total execution time for the set of test cases.
Dependencies are inferred from the claim text.