Generating a test script execution order
First Claim
1. A device, comprising:
- one or more memories; and
one or more processors, communicatively coupled to the one or more memories, to;
determine a plurality of first probabilities for a plurality of test scripts that is associated with a test to be executed on a software element,wherein a respective first probability, of the plurality of first probabilities, is associated with a respective test script of the plurality of test scripts,wherein the respective first probability indicates a likelihood that the respective test script will be unsuccessful in a test cycle, andwherein the respective first probability is determined based on historical test results, associated with the software element, for the respective test script;
generate, based on the plurality of first probabilities, a test script execution order, of the plurality of test scripts, for the test cycle,wherein the plurality of test scripts are ordered from greatest respective probability to least respective probability;
execute, based on the test script execution order, the test on the software element in the test cycle,wherein a first test script, of the plurality of test scripts, is executed based on the test script execution order;
determine, based on a result of executing the first test script, a plurality of second probabilities for a plurality of second test scripts,wherein the plurality of second test scripts do not include the first test script,wherein the plurality of second probabilities are used to generate an updated test script execution order, andwherein the plurality of first probabilities are not used to generate the updated test script execution order;
generate, based on the plurality of second probabilities, the updated test script execution order; and
execute, based on the updated test script execution order, a second test script, of the plurality of second test scripts, on the software element in the test cycle.
1 Assignment
0 Petitions
Accused Products
Abstract
A device may determine probabilities for test scripts associated with a test to be executed on a software element, where a respective probability is associated with a respective test script, indicates a likelihood that the respective test script will be unsuccessful in a test cycle, and is determined based on historical test results, associated with the software element, for the respective test script. The device may generate, based on the probabilities, a test script execution order, of the test scripts, for the test cycle, and may execute, based on the test script execution order, the test on the software element in the test cycle. The device may dynamically generate, based on results for the test in the test cycle, an updated test script execution order, and may execute, based on the updated test script execution order, the test on the software element in the test cycle.
-
Citations
20 Claims
-
1. A device, comprising:
-
one or more memories; and one or more processors, communicatively coupled to the one or more memories, to; determine a plurality of first probabilities for a plurality of test scripts that is associated with a test to be executed on a software element, wherein a respective first probability, of the plurality of first probabilities, is associated with a respective test script of the plurality of test scripts, wherein the respective first probability indicates a likelihood that the respective test script will be unsuccessful in a test cycle, and wherein the respective first probability is determined based on historical test results, associated with the software element, for the respective test script; generate, based on the plurality of first probabilities, a test script execution order, of the plurality of test scripts, for the test cycle, wherein the plurality of test scripts are ordered from greatest respective probability to least respective probability; execute, based on the test script execution order, the test on the software element in the test cycle, wherein a first test script, of the plurality of test scripts, is executed based on the test script execution order; determine, based on a result of executing the first test script, a plurality of second probabilities for a plurality of second test scripts, wherein the plurality of second test scripts do not include the first test script, wherein the plurality of second probabilities are used to generate an updated test script execution order, and wherein the plurality of first probabilities are not used to generate the updated test script execution order; generate, based on the plurality of second probabilities, the updated test script execution order; and execute, based on the updated test script execution order, a second test script, of the plurality of second test scripts, on the software element in the test cycle. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by one or more processors, cause the one or more processors to; determine a plurality of first probabilities for a plurality of first test scripts that is associated with a test to be executed on a software element, wherein the plurality of first probabilities indicate a likelihood that the plurality of first test scripts will be unsuccessful in a test cycle; generate, based on the plurality of first probabilities, a test script execution order, of the plurality of first test scripts, for the test cycle, wherein the plurality of first test scripts are ordered from greatest respective probability to least respective probability; execute, based on the test script execution order, a first test script, of the plurality of first test scripts, on the software element in the test cycle, wherein the first test script, of the plurality of first test scripts, is executed based on the test script execution order; determine, based on a result of executing the first test script, a plurality of second probabilities for a plurality of second test scripts, wherein the plurality of second test scripts do not include the first test script, wherein the plurality of second probabilities are used to generate an updated test script execution order, and wherein the plurality of first probabilities are not used to generate the updated test script execution order; generate, based on the plurality of second probabilities, the updated test script execution order; and execute, based on the updated test script execution order, a second test script, of the plurality of second test scripts, on the software element. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
15. A method, comprising:
-
determining, by a device, a plurality of first probabilities for a plurality of first test scripts that is associated with a test to be executed on a software element, wherein the plurality of first probabilities indicate a likelihood that the plurality of first test scripts will be unsuccessful in a test cycle; generating, by the device and based on the plurality of first probabilities, a test script execution order, of the plurality of first test scripts, for the test cycle, wherein the plurality of first test scripts are ordered from greatest respective probability to least respective probability; executing, by the device and based on the test script execution order, a first test script, of the plurality of first test scripts, on the software element in the test cycle, wherein the first test script, of the plurality of test scripts, is executed based on the test script execution order; determining, by the device, a plurality of second probabilities for a plurality of second test scripts, wherein the plurality of second probabilities is determined based on; a first result of executing the first test script, and one or more second results, from one or more historical test cycles, for one or more second test scripts of the plurality of second test scripts, wherein the plurality of second probabilities are used to generate an updated test script execution order, wherein the plurality of first probabilities are not used to generate the updated test script execution order, and wherein the one or more second test scripts do not include the first test script; generating, by the device and based on the plurality of second probabilities, the updated test script execution order; and executing, by the device and based on the updated test script execution order, a third test script, of the plurality of second test scripts, on the software element. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification