5. A computer-implemented method for ranking and optimizing automated test scripts, the method comprising: executing, on one or more computer systems, a plurality of test scripts, wherein the test scripts are members of a collection; recording, at a server computer, a test result and execution data in a repository for each of the plurality of test scripts executed; calculating, by the server computer, a score for each of the plurality of test scripts by adding a plurality of terms comprising an average of an execution time of the test script over a period of time, a number of executions of the test script resulting in a test result of failure due to product bug within the period of time, a ratio of the number of executions of the test script resulting in a test result of failure not due to product bug to the number of executions of the test script within the period of time, and a number of unique lines of code tested by the test script based upon the test results and execution data recorded in the repository for the test script, wherein each of the plurality of terms is multiplied by a weighting factor; ranking, by the server computer, the plurality of test scripts according to the score calculated for each; determining the members of the collection based upon the rank of each of the plurality of test scripts; and repeating the method over one or more iterations of testing.
5. A computer-implemented method for ranking and optimizing automated test scripts, the method comprising: executing, on one or more computer systems, a plurality of test scripts, wherein the test scripts are members of a collection; recording, at a server computer, a test result and execution data in a repository for each of the plurality of test scripts executed; calculating, by the server computer, a score for each of the plurality of test scripts by adding a plurality of terms comprising an average of an execution time of the test script over a period of time, a number of executions of the test script resulting in a test result of failure due to product bug within the period of time, a ratio of the number of executions of the test script resulting in a test result of failure not due to product bug to the number of executions of the test script within the period of time, and a number of unique lines of code tested by the test script based upon the test results and execution data recorded in the repository for the test script, wherein each of the plurality of terms is multiplied by a weighting factor; ranking, by the server computer, the plurality of test scripts according to the score calculated for each; determining the members of the collection based upon the rank of each of the plurality of test scripts; and repeating the method over one or more iterations of testing. 7. The method of claim 5 , wherein determining the members of the collection comprises removing from the collection the test scripts having a score lower than a threshold score.