RANKING AND OPTIMIZING AUTOMATED TEST SCRIPTS
First Claim
1. A method for ranking and optimizing automated test scripts, the method comprising:
- executing a plurality of test scripts, wherein the test scripts are members of a collection;
recording a test result and execution data in a repository for each of the plurality of test scripts executed;
calculating a score for each of the plurality of test scripts based upon the test results and execution data recorded in the repository for the test script;
ranking the plurality of test scripts according to the score calculated for each; and
determining the members of the collection based upon the rank of each of the plurality of test scripts.
2 Assignments
0 Petitions
Accused Products
Abstract
Technologies are described herein for ranking and optimizing test scripts utilized in the automated testing of software products. A score is calculated for each test script from various metrics collected from executions of the test script. Metrics utilized in calculating the score for a test script may include those indicating the propensity of the script to result in “false failures” and/or those indicating the effectiveness of the script for finding product bugs. The test scripts are then ranked by their score, and this ranking is used in determining the frequency of execution of the test script in future testing.
100 Citations
20 Claims
-
1. A method for ranking and optimizing automated test scripts, the method comprising:
-
executing a plurality of test scripts, wherein the test scripts are members of a collection; recording a test result and execution data in a repository for each of the plurality of test scripts executed; calculating a score for each of the plurality of test scripts based upon the test results and execution data recorded in the repository for the test script; ranking the plurality of test scripts according to the score calculated for each; and determining the members of the collection based upon the rank of each of the plurality of test scripts. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for ranking and optimizing automated test scripts, the method comprising:
-
collecting in a repository a test result and execution data for an execution of each of a plurality of test scripts, each of the plurality of test scripts belonging to a collection which determines a frequency of execution of the test script; calculating a score for each of the plurality of test scripts based upon the test results and execution data; ranking the plurality of test scripts according to the score; and determining to which collection each of the plurality of test scripts belongs based upon the ranking of the test scripts. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A computer storage medium having computer executable instructions stored thereon, which, when executed by a computer, cause the computer to:
-
collect in a repository a test result and execution data for a plurality of executions of each of a plurality of test scripts; calculate a score for each of the plurality of test scripts based upon the test results and execution data; rank the plurality of test scripts according to the score; present to a test reviewer a list of the plurality test scripts sorted according to the rank; and receive from the test reviewer a change in frequency of execution for a subset of test scripts in the list. - View Dependent Claims (18, 19, 20)
-
Specification