Patent ID: 9501389
Filing Date: 2016-11-22
CPC Classification: G06F

Claim Text:
1. A method comprising: creating, by one or more processors, a test suite, wherein the test suite includes a plurality of test cases for execution on a plurality of test agents; responsive to reaching a specified execution time for the plurality of test cases, distributing, by one or more processors, a first portion of test cases to any available test agents, wherein each test case out of the first portion of test cases does not have any associated preconditions; responsive to determining a number of test cases with no associated preconditions exceeds a number of test agents currently available, queueing, by one or more processors, a first portion of the test cases with no associated preconditions and an amount of test code script below or equal to a threshold, wherein the threshold is an amount of test code script for a test case; distributing, by one or more processors, a second portion of the test cases with no associated preconditions and an amount of test code script above the threshold; receiving, by one or more processors, test results and event information for a first test case out of the first portion 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 with associated preconditions, wherein the associated preconditions include a trigger condition, 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 subsequent to the first test agent becoming available includes distributing the second test case to the first test agent, 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.