TEST MACHINE MANAGEMENT
First Claim
1. A method comprising:
- responsive to reaching a specified execution time for a plurality of test cases, distributing, by one or more processors, the plurality of test cases to any available test agents, wherein each test case out of the plurality of test cases does not have any associated preconditions;
receiving, by one or more processors, event information for a first test case out of the plurality of test cases from a first test agent;
responsive to determining the event information for the first test case includes a satisfied condition for a second test case, determining, by one or more processors, whether the satisfied condition for the second test case relates to a global variable or local variable;
handling, by one or more processors, the second test case, wherein handling the second test case includes distributing the second test case to the first test agent subsequent to the first test agent becoming available if the satisfied condition relates to the local variable and the satisfied condition indicates that the local variable is below, equal, or above a predetermined value, wherein handling the second test case includes distributing the second test case to any idle test agent from the plurality of test agents if the satisfied condition relates to the global variable, and wherein handling the second test case includes queuing the second test case if there are no idle test agents;
responsive to determining that a second test agent has become available, determining, by one or more processors, whether any of the test cases in the queue include satisfied local variables for the second test agent; and
executing, by one or more processors, a third test case with a satisfied local variable for the second test agent.
1 Assignment
0 Petitions
Accused Products
Abstract
A method includes distributing the plurality of test cases to any available test agents, wherein each test case out of the plurality of test cases does not have any associated preconditions. The method receives event information for a first test case out of the plurality of test cases from a first test agent. Responsive to determining the event information for the first test case includes a satisfied condition for a second test case, the method determines whether the satisfied condition for the second test case relates to a global variable or local variable. The method handles the second test case, wherein handling the second test case includes distributing the second test case to the first test agent subsequent to the first test agent becoming available if the satisfied condition relates to the local variable.
-
Citations
20 Claims
-
1. A method comprising:
-
responsive to reaching a specified execution time for a plurality of test cases, distributing, by one or more processors, the plurality of test cases to any available test agents, wherein each test case out of the plurality of test cases does not have any associated preconditions; receiving, by one or more processors, event information for a first test case out of the plurality of test cases from a first test agent; responsive to determining the event information for the first test case includes a satisfied condition for a second test case, determining, by one or more processors, whether the satisfied condition for the second test case relates to a global variable or local variable; handling, by one or more processors, the second test case, wherein handling the second test case includes distributing the second test case to the first test agent subsequent to the first test agent becoming available if the satisfied condition relates to the local variable and the satisfied condition indicates that the local variable is below, equal, or above a predetermined value, wherein handling the second test case includes distributing the second test case to any idle test agent from the plurality of test agents if the satisfied condition relates to the global variable, and wherein handling the second test case includes queuing the second test case if there are no idle test agents; responsive to determining that a second test agent has become available, determining, by one or more processors, whether any of the test cases in the queue include satisfied local variables for the second test agent; and executing, by one or more processors, a third test case with a satisfied local variable for the second test agent. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising:
-
one or more computer readable tangible storage media and program instructions stored on at least one of the one or more storage media, the program instructions comprising; program instructions to, responsive to reaching a specified execution time for a plurality of test cases, distribute the plurality of test cases to any available test agents, wherein each test case out of the plurality of test cases does not have any associated preconditions; program instructions to receive event information for a first test case out of the plurality of test cases from a first test agent; program instructions to, responsive to determining the event information for the first test case includes a satisfied condition for a second test case, determine whether the satisfied condition for the second test case relates to a global variable or local variable; program instructions to handle the second test case, wherein handling the second test case includes distributing the second test case to the first test agent subsequent to the first test agent becoming available if the satisfied condition relates to the local variable and the satisfied condition indicates that the local variable is below, equal, or above a predetermined value, wherein handling the second test case includes distributing the second test case to any idle test agent from the plurality of test agents if the satisfied condition relates to the global variable, and wherein handling the second test case includes queuing the second test case if there are no idle test agents; program instructions to, responsive to determining that a second test agent has become available, determine whether any of the test cases in the queue include satisfied local variables for the second test agent; and program instructions to execute a third test case with a satisfied local variable for the second test agent. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system comprising:
-
one or more computer processors; one or more computer readable storage media; and program instructions stored on the computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising; program instructions to, responsive to reaching a specified execution time for a plurality of test cases, distribute the plurality of test cases to any available test agents, wherein each test case out of the plurality of test cases does not have any associated preconditions; program instructions to receive event information for a first test case out of the plurality of test cases from a first test agent; program instructions to, responsive to determining the event information for the first test case includes a satisfied condition for a second test case, determine whether the satisfied condition for the second test case relates to a global variable or local variable; program instructions to handle the second test case, wherein handling the second test case includes distributing the second test case to the first test agent subsequent to the first test agent becoming available if the satisfied condition relates to the local variable and the satisfied condition indicates that the local variable is below, equal, or above a predetermined value, wherein handling the second test case includes distributing the second test case to any idle test agent from the plurality of test agents if the satisfied condition relates to the global variable, and wherein handling the second test case includes queuing the second test case if there are no idle test agents; program instructions to, responsive to determining that a second test agent has become available, determine whether any of the test cases in the queue include satisfied local variables for the second test agent; and program instructions to execute a third test case with a satisfied local variable for the second test agent. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification